This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: ping: [patch 3/4]#3 linux-nat: Do not respawn signals
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Date: Thu, 19 May 2011 19:43:44 +0100
- Subject: Re: ping: [patch 3/4]#3 linux-nat: Do not respawn signals
- References: <20100921224956.GD20130@host1.dyn.jankratochvil.net> <20110518192133.GA6042@host1.jankratochvil.net>
Thanks for the ping. I completely forgot this.
On Wednesday 18 May 2011 20:21:33, Jan Kratochvil wrote:
> gdb/
> 2010-09-20 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * linux-nat.c (stop_wait_callback): New gdb_assert. Remove signals
> respawning; keep TP with SIGNALLED. New debugging message "SWC:
> Delayed SIGSTOP caught for %s.". Catch next signal if SIGSTOP has
> been caught and LP->STEP is set.
> (linux_nat_wait_1) <lp && lp->signalled>: Remove.
Looks good.
Don't forget to update the copyright years in the new files.
sigstep-threads.exp will fail with gdbserver due to not having
the same ->step trick, I believe. Did you happen to write a patch
for that? That same test may be racy/failing on non hw-step archs,
I'm not sure.
>
> gdb/testsuite/
> 2010-09-20 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.threads/siginfo-threads.exp: New file.
> * gdb.threads/siginfo-threads.c: New file.
> * gdb.threads/sigstep-threads.exp: New file.
> * gdb.threads/sigstep-threads.c: New file.
--
Pedro Alves