Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Jérôme Duval" <jerome.duval@gmail.com>
To: gdb-patches@sourceware.org
Cc: "Jérôme Duval" <jerome.duval@gmail.com>
Subject: [PATCH 0/8] Support for Haiku/x86-64 in GDB
Date: Thu, 12 Mar 2026 18:23:28 +0100	[thread overview]
Message-ID: <20260312172336.15450-1-jerome.duval@gmail.com> (raw)

This series adds support for Haiku/x86-64 to GDB.

Initial support was done by Trung Nguyen for GDB 15.1 for GSoC 2024:
See blog entries https://www.haiku-os.org/tags/gdb
Original Port repository: https://github.com/trungnt2910/gdb-haiku

I mostly adapted to the next major releases.
These patches are maintained at HaikuPorts, we would like to upstream them.


Jérôme Duval (6):
  gdb: Update Haiku support for 16.x
  gdbserver: Update Haiku support for 16.x
  gdb: Update Haiku support for 17.x
  gdbserver: Update Haiku support for 17.x
  gdb: Update Haiku support for 18.x
  gdbserver: Update Haiku support for 18.x

Trung Nguyen (2):
  gdbserver: Initial Haiku support
  gdb: Initial Haiku support

 gdb/Makefile.in              |   28 +
 gdb/NEWS                     |    2 +
 gdb/amd64-haiku-nat.c        |  151 ++
 gdb/amd64-haiku-tdep.c       |  142 ++
 gdb/configure                |    2 +-
 gdb/configure.host           |    2 +
 gdb/configure.nat            |   25 +
 gdb/configure.tgt            |   11 +
 gdb/haiku-nat.c              |  776 ++++++++++
 gdb/haiku-nat.h              |   75 +
 gdb/haiku-tdep.c             |  194 +++
 gdb/haiku-tdep.h             |   44 +
 gdb/i386-haiku-nat.c         |   37 +
 gdb/i386-haiku-tdep.c        |   59 +
 gdb/nat/haiku-debug.c        |   43 +
 gdb/nat/haiku-nat.c          | 2808 ++++++++++++++++++++++++++++++++++
 gdb/nat/haiku-nat.h          |  429 ++++++
 gdb/nat/haiku-nub-message.c  |   50 +
 gdb/nat/haiku-nub-message.h  |  141 ++
 gdb/nat/haiku-osdata.c       |  445 ++++++
 gdb/nat/haiku-osdata.h       |   26 +
 gdb/solib-haiku.c            |  128 ++
 gdb/solib-haiku.h            |   29 +
 gdbserver/Makefile.in        |    6 +
 gdbserver/configure          |    2 +-
 gdbserver/configure.srv      |    9 +
 gdbserver/haiku-amd64-low.cc |  262 ++++
 gdbserver/haiku-low.cc       |  613 ++++++++
 gdbserver/haiku-low.h        |  100 ++
 gdbserver/remote-utils.cc    |    4 +
 gdbsupport/osabi.def         |    1 +
 gdbsupport/signals.cc        |   10 +
 include/gdb/signals.def      |    4 +-
 33 files changed, 6655 insertions(+), 3 deletions(-)
 create mode 100644 gdb/amd64-haiku-nat.c
 create mode 100644 gdb/amd64-haiku-tdep.c
 create mode 100644 gdb/haiku-nat.c
 create mode 100644 gdb/haiku-nat.h
 create mode 100644 gdb/haiku-tdep.c
 create mode 100644 gdb/haiku-tdep.h
 create mode 100644 gdb/i386-haiku-nat.c
 create mode 100644 gdb/i386-haiku-tdep.c
 create mode 100644 gdb/nat/haiku-debug.c
 create mode 100644 gdb/nat/haiku-nat.c
 create mode 100644 gdb/nat/haiku-nat.h
 create mode 100644 gdb/nat/haiku-nub-message.c
 create mode 100644 gdb/nat/haiku-nub-message.h
 create mode 100644 gdb/nat/haiku-osdata.c
 create mode 100644 gdb/nat/haiku-osdata.h
 create mode 100644 gdb/solib-haiku.c
 create mode 100644 gdb/solib-haiku.h
 create mode 100644 gdbserver/haiku-amd64-low.cc
 create mode 100644 gdbserver/haiku-low.cc
 create mode 100644 gdbserver/haiku-low.h

-- 
2.43.0


             reply	other threads:[~2026-03-12 17:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12 17:23 Jérôme Duval [this message]
2026-03-12 17:23 ` [PATCH 1/8] gdbserver: Initial Haiku support Jérôme Duval
2026-03-12 19:06   ` Kevin Buettner
2026-03-12 17:23 ` [PATCH 2/8] gdb: " Jérôme Duval
2026-03-12 18:31   ` Eli Zaretskii
2026-03-12 17:23 ` [PATCH 3/8] gdb: Update Haiku support for 16.x Jérôme Duval
2026-03-12 17:23 ` [PATCH 4/8] gdbserver: " Jérôme Duval
2026-03-12 17:23 ` [PATCH 5/8] gdb: Update Haiku support for 17.x Jérôme Duval
2026-03-12 17:58   ` Tom Tromey
2026-03-12 17:23 ` [PATCH 6/8] gdbserver: " Jérôme Duval
2026-03-12 17:23 ` [PATCH 7/8] gdb: Update Haiku support for 18.x Jérôme Duval
2026-03-12 17:23 ` [PATCH 8/8] gdbserver: " Jérôme Duval
2026-03-12 17:37 ` [PATCH 0/8] Support for Haiku/x86-64 in GDB Tom Tromey
     [not found]   ` <CAPZRpdPY4Uzwu5BinMEDcU=0SQEXU0ca31-p_X_ZOJzdGcobkQ@mail.gmail.com>
2026-03-12 21:42     ` Trung Nguyen

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=20260312172336.15450-1-jerome.duval@gmail.com \
    --to=jerome.duval@gmail.com \
    --cc=gdb-patches@sourceware.org \
    /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