gdbstub initial code, v8

Oleg Nesterov oleg at redhat.com
Mon Sep 6 18:18:08 UTC 2010


On 09/05, Jan Kratochvil wrote:
>
> 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

Yes. This is simple.

> (also to put in breakpoints):

And this is not clear to me, I need your help ;)

What should ugdb know about breakpoints? I played with the real
gdbserver, and afaics gdb just changes the tracee's memory and
inserts 0xcc (int 3). But gdb.info mentions "Z TYPE,ADDR,KIND"
packets.

So, what should ugdb do? Just implement memory write (M or X)
and then report SIGTRAP like gdbserver does?

Oleg.




More information about the utrace-devel mailing list