Thread: problem in gdbserver: killing inferior

  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
    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, 07: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, 08:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM