This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb/2022: gdb hangs on command kill on Solaris10 edition 10/05


The following reply was made to PR gdb/2022; it has been noted by GNATS.

From: "Steve Williams" <steve.williams@utstar.com>
To: <gdb-gnats@sources.redhat.com>
Cc:  
Subject: Re: gdb/2022: gdb hangs on command kill on Solaris10 edition 10/05
Date: Sun, 30 Oct 2005 18:01:19 -0800

 The similar issue also exists on sparc-sun-solaris2.10 (edition 10/05) when
 GDB is killed, the inferior process is left hanging.
 
 Example:
 Source
 --------
 #include<unistd.h>
 int
 main(int argc, char* argv[])
 {
     while(1) sleep(1);
     return 0;
 }
 
 Compile
 --------
 gcc -g t.c
 
 Debug
 ------
 gdb -nx a.out
 run
 
 Problem
 --------
 Then kill gdb
 kill <gdbpid>
 
 a ps will show that a.out is still running.
 
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]