gdbstub initial code, v8

Jan Kratochvil jan.kratochvil at redhat.com
Sun Sep 5 19:41:01 UTC 2010


On Sat, 04 Sep 2010 00:40:47 +0200, Oleg Nesterov wrote:
> 	- implement qXfer:siginfo:read
> 
> 	- implement continue with signal.

OK, thanks, just it was a bit premature to ask for it I see.  I miss at least
memory writes (also to put in breakpoints):

(gdb) ptype done
type = int
(gdb) p done=1
$6 = 0
:-)

Sending packet: $M7f00e6a378e0,1:cc#da...Packet received: 
 - without much effect.

Using some:
killall -9 nc sigtest;gcc -o sigtest sigtest.c -Wall -g;nice -n20 ./sigtest&p=$!;nc -l 2000 <>/proc/ugdb >&0& ../gdb -nx -ex 'set architecture i386:x86-64' -ex 'set debug remote 0' -ex 'set debug solib 1' -ex 'set target-async on' -ex 'set non-stop on' -ex 'target extended-remote :2000' -ex 'file ./sigtest' -ex "attach $p" -ex 'info shared'


Thanks,
Jan




More information about the utrace-devel mailing list