Skip to content

OpenRISC Linux Native and GDBServer Support

Stafford Horne openrisc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5gdb: or1k: implement gdb servergdb/features/Makefile gdb/features/or1k-linux.xml gdb/regformats/or1k-linux.dat +3 more+329 -01 reply
1/5gdb: or1k: implement gdb server+0 -00 replies
2/5gdb: or1k: fixup linux regcache commentgdb/or1k-linux-tdep.c+4 -30 replies
3/5gdb: or1k: add generated linux descriptor filegdb/features/or1k-linux.c+78 -00 replies
4/5gdb: or1k: add native linux supportgdb/Makefile.in gdb/configure.host gdb/configure.nat +3 more+249 -00 replies
5/5gdb: or1k: add single step for linux native debugginggdb/or1k-linux-tdep.c gdb/or1k-tdep.c gdb/or1k-tdep.h+54 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [OpenRISC] [PATCH 0/5] OpenRISC Linux Native and GDBServer Support

Hello,

As I have been working on the OpenRISC glibc port over the last few years now I have had the need to have Linux native debugging. At first I started with the gdbserver, but quickly grew out of that and just settled on running gdb native on the platform.

These are the patches I have been using.

Stafford Horne (5):
gdb: or1k: implement gdb server
gdb: or1k: fixup linux regcache comment
gdb: or1k: add generated linux descriptor file
gdb: or1k: add native linux support
gdb: or1k: add single step for linux native debugging

 gdb/Makefile.in               |   2 +
 gdb/configure.host            |   2 +
 gdb/configure.nat             |   4 +
 gdb/features/Makefile         |   1 +
 gdb/features/or1k-linux.c     |  78 ++++++++++
 gdb/features/or1k-linux.xml   |  13 ++
 gdb/or1k-linux-nat.c          | 210 +++++++++++++++++++++++++++
 gdb/or1k-linux-tdep.c         |  14 +-
 gdb/or1k-linux-tdep.h         |  26 ++++
 gdb/or1k-tdep.c               |  66 ++++++---
 gdb/or1k-tdep.h               |   5 +
 gdb/regformats/or1k-linux.dat |  40 +++++
 gdbserver/Makefile.in         |   1 +
 gdbserver/configure.srv       |   8 +
 gdbserver/linux-or1k-low.cc   | 266 ++++++++++++++++++++++++++++++++++
 15 files changed, 714 insertions(+), 22 deletions(-)
 create mode 100644 gdb/features/or1k-linux.c
 create mode 100644 gdb/features/or1k-linux.xml
 create mode 100644 gdb/or1k-linux-nat.c
 create mode 100644 gdb/or1k-linux-tdep.h
 create mode 100644 gdb/regformats/or1k-linux.dat
 create mode 100644 gdbserver/linux-or1k-low.cc
Signature · 1 line
2.31.1