A Monday 07 July 2008 18:55:10, Daniel Jacobowitz wrote: > On Sat, Jun 28, 2008 at 12:11:12AM +0100, Pedro Alves wrote: > > (gdb) tar extended-remote :9999 > > Remote debugging using :9999 > > (gdb) attach 32762 > > Attached to Thread 32762 > > [New Thread 32762] > > > > Program received signal SIGTRAP, Trace/breakpoint trap. > > 0x00007fc30f5d0b30 in ?? () > > > > ... a bogus SIGTRAP. > > Did you reproduce this with an unmodified GDB or a patched one? I > can't reproduce it - I was curious since I did test vAttach and I > don't remember seeing these SIGTRAPs. Unmodified HEAD. > Actually, wait... trying another GDB I see that this problem has > appeared on the GDB side between 6.8 and HEAD. 6.8 doesn't print out > the message about a SIGTRAP. You're right, I just tried with 6.8 too, and don't see the SIGTRAP notice... I'll try to pinpoint what changed this, and see if it was a spurious change. > > > [Switching to Thread 2232] > > Stopped due to shared library event > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > This part looks fine. In the mean time, I've checked the bit to fix this in, as attached. -- Pedro Alves