This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

[RFC/m32r] Add gdbserver support to m32r-linux


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.

Attachment: gdbserver.patch
Description: Binary data


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