problem in gdbserver: killing inferior

This is a discussion on problem in gdbserver: killing inferior within the C Programming forums, part of the General Programming Boards category; hello All, I'm trying to debug a program remotely by using gdbserver gdbserver 150.158.74.131:23456 --attach 15397(pid of my program) I ...

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    32

    problem in gdbserver: killing inferior

    hello All,

    I'm trying to debug a program remotely by using gdbserver

    gdbserver 150.158.74.131:23456 --attach 15397(pid of my program)

    I have successfully debugged the program with host, But when I quit gdb from host both my program and gdbserver are killed. my process received a SIGKILL signal.

    why is my program killed here ?


    Any solution is appreciable

    -Ashok

  2. #2
    Maz
    Maz is offline
    Registered User Maz's Avatar
    Join Date
    Nov 2005
    Location
    Finland
    Posts
    194
    I assume you should try telling gdb to detach
    (ctrl+c to stop program, detach + enter)
    from process before quitting gdb client from host.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Josephus Problem
    By GCNDoug in forum C++ Programming
    Replies: 0
    Last Post: 05-12-2008, 08:47 AM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 09:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 03:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 07:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21