gdbserver regression [Re: [COMMIT PATCH][GDBserver] Multi-process + multi-arch]

Jan Kratochvil
2013-06-08T01:53:46Z

On Fri, 07 Jun 2013 12:50:44 +0200, Pedro Alves wrote:
> I've now squashed everything into a single patch, and checked it in,
> as below.

412f6d9c3dd9bf3049d1b78aefdc7391f95b5484 is the first bad commit
commit 412f6d9c3dd9bf3049d1b78aefdc7391f95b5484
Author: Pedro Alves <palves@redhat.com>
Date: Fri Jun 7 10:46:57 2013 +0000

[GDBserver] Multi-process + multi-arch

cd gdb/testsuite/
../gdbserver/gdbserver :1234 ~/t/hello &
echo p=$!
../gdb -nx ~/t/hello -ex 'set debug remote 1' -ex 'target remote localhost:1234' -ex c -ex 'set confirm no' -ex q 2>&1|tee log
kill -9 $p
grep 'Inferior .* exited normally' log

~/t/hello is hello world: int main () { puts("hello"); }

[...]
Sending packet: $vCont?#49...Packet received: vCont;c;C;s;S;t;r
Packet vCont (verbose-resume) is supported
Sending packet: $vCont;c#a8...Packet received: T0506:0000000000000000;07:0000000000000000;10:0000000000000000;thread:p54b6.54b6;core:1;
Sending packet: $z0,39e6403f92,1#a2...Packet received: OK
Sending packet: $z0,39e6413355,1#6f...Packet received: OK
Sending packet: $z0,39e6414285,1#72...Packet received: OK
Sending packet: $m0,1#fa...Packet received: E01
Sending packet: $m0,1#fa...Packet received: E01
Sending packet: $m0,9#02...Packet received: E01

Program received signal SIGTRAP, Trace/breakpoint trap.
0x0000000000000000 in ?? ()

Jan