This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: gdb/2022: gdb hangs on command kill on Solaris10 edition 10/05
- From: "Steve Williams" <steve dot williams at utstar dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 31 Oct 2005 02:08:01 -0000
- Subject: Re: gdb/2022: gdb hangs on command kill on Solaris10 edition 10/05
- Reply-to: "Steve Williams" <steve dot williams at utstar dot com>
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.