This is the mail archive of the gdb-patches@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] |
Hi, sleep 1h& pid=$!; kill -STOP $pid; gdb sleep $pid -> Attaching to program: /bin/sleep, process 20768 ../../gdb/linux-nat.c:1057: internal-error: linux_nat_attach: Assertion `pid == GET_PID (inferior_ptid) && WIFSTOPPED (status) && WSTOPSIG (status) == SIGSTOP' failed. Testsuite not affected. Not tested if the patch is properly utilized on older (<=2.4) Linux kernels. 2006-09-17 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb/linux-nat.c (linux_nat_attach): Handle already stopped processes. 2006-09-17 Jeff Johnston <jjohnstn@redhat.com> Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.base/attachstop.exp, gdb.base/attachstop.c: New files, test attaching to already stopped processes. Regards, Jan
Attachment:
gdb-6.5-attach-stop.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |