Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Stafford Horne via Gdb-patches <gdb-patches@sourceware.org>
To: GDB patches <gdb-patches@sourceware.org>
Cc: Openrisc <openrisc@lists.librecores.org>
Subject: [PATCH 0/5] OpenRISC Linux Native and GDBServer Support
Date: Mon, 13 Sep 2021 21:47:55 +0900	[thread overview]
Message-ID: <20210913124800.471680-1-shorne@gmail.com> (raw)

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

-- 
2.31.1


             reply	other threads:[~2021-09-13 12:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13 12:47 Stafford Horne via Gdb-patches [this message]
2021-09-13 12:47 ` [PATCH 1/5] gdb: or1k: implement gdb server Stafford Horne via Gdb-patches
2021-10-20 17:33   ` Tom Tromey
2021-10-20 21:17     ` Stafford Horne via Gdb-patches
2021-09-13 12:47 ` [PATCH 2/5] gdb: or1k: fixup linux regcache comment Stafford Horne via Gdb-patches
2021-09-13 12:47 ` [PATCH 3/5] gdb: or1k: add generated linux descriptor file Stafford Horne via Gdb-patches
2021-09-13 12:47 ` [PATCH 4/5] gdb: or1k: add native linux support Stafford Horne via Gdb-patches
2021-09-13 12:48 ` [PATCH 5/5] gdb: or1k: add single step for linux native debugging Stafford Horne via Gdb-patches
2021-10-20 18:20 ` [PATCH 0/5] OpenRISC Linux Native and GDBServer Support Tom Tromey
2021-10-20 21:15   ` Stafford Horne via Gdb-patches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210913124800.471680-1-shorne@gmail.com \
    --to=gdb-patches@sourceware.org \
    --cc=openrisc@lists.librecores.org \
    --cc=shorne@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox