[RFC/m32r] Add gdbserver support to m32r-linux
Kei Sakamoto
sakamoto.kei@renesas.com
Tue Apr 12 05:03:00 GMT 2005
Hello,
The attached patch adds gdbserver support to m32r-linux target.
It uses PTRACE_PEEKUSR instead of PTRCE_GETREGS.
I posted the same patch last year and I was told that
PTRACE_GETREGS was preferable. I tried to implement m32r-linux
gdbserver with it. But somehow gdbserver with PTRACE_GETREGS
does not work correctly and I'm afraid that it would take a long
time to debug it.
I'm going to commit the patch which uses PTRACE_PEEKUSR and
replace it with one which uses PTRACE_GETREGS later.
Any comments?
Kei Sakamoto
gdb/ChangeLog:
2005-05-05 Kei Sakamoto <sakamoto.kei@renesas.com>
* regformats/reg-m32r.dat: New file.
gdb/gdbserver/ChangeLog:
2005-05-05 Kei Sakamoto <sakamoto.kei@renesas.com>
* Makefile.in: Add linux-m32r-low.o, reg-m32r.c and reg-m32r.o.
* configure.srv: Add m32r*-*-linux*.
* linux-m32r-low.c: New file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdbserver.patch
Type: application/octet-stream
Size: 6137 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20050412/7251088c/attachment.obj>
More information about the Gdb-patches
mailing list