This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: gdbstub initial code, v9
Hi -
On Thu, Sep 09, 2010 at 05:50:47PM +0200, Oleg Nesterov wrote:
> Probably I need to implement G/P first, otherwise gdb can't change ip.
Perhaps.
> Still, I'd appreciate if someone can explain me what gdb needs/expects
> to handle breakpoints before I start to read the sources.
It'd be simpler if the normal all-stop mode was what you first focused
on. That mode works fine with Z/z and with M/m based breakpoint
insertion/removal and c/s continue/singlestep. (This stuff was all
working in the earlier gdbstub code.)
Re. non-stop mode, see
http://www.codesourcery.com/publications/non_stop_multi_threaded_debugging_in_gdb.pdf
- FChE