This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdbstub initial code, v8


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]