Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Support for Haiku/x86-64 in GDB
@ 2026-04-23 18:59 Jérôme Duval
  2026-04-23 18:59 ` [PATCH v4 1/2] gdbserver: Haiku support Jérôme Duval
  2026-04-23 18:59 ` [PATCH v4 2/2] gdb: " Jérôme Duval
  0 siblings, 2 replies; 6+ messages in thread
From: Jérôme Duval @ 2026-04-23 18:59 UTC (permalink / raw)
  To: gdb-patches; +Cc: me, Jérôme Duval

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.

Changes in v4:
- moved osabi changes to gdbserver patch
- fix solib-haiku::relocate_section_addresses
- Rebase on current

Changes in v3:
- Whitespace/tabs, struct keyword
- perror_with_name i18n friendly
- Haiku/i386 removed
- Rebase on current

Jérôme Duval (2):
  gdbserver: Haiku support
  gdb: Haiku support

 gdb/Makefile.in              |   25 +
 gdb/NEWS                     |    2 +
 gdb/amd64-haiku-nat.c        |  149 ++
 gdb/amd64-haiku-tdep.c       |  140 ++
 gdb/configure                |    2 +-
 gdb/configure.host           |    2 +
 gdb/configure.nat            |   15 +
 gdb/configure.tgt            |    6 +
 gdb/haiku-nat.c              |  775 ++++++++++
 gdb/haiku-nat.h              |   75 +
 gdb/haiku-tdep.c             |  192 +++
 gdb/haiku-tdep.h             |   44 +
 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            |  120 ++
 gdb/solib-haiku.h            |   29 +
 gdbserver/Makefile.in        |    6 +
 gdbserver/configure          |    2 +-
 gdbserver/configure.srv      |    9 +
 gdbserver/haiku-amd64-low.cc |  261 ++++
 gdbserver/haiku-low.cc       |  612 ++++++++
 gdbserver/haiku-low.h        |  100 ++
 gdbserver/remote-utils.cc    |    4 +
 gdbsupport/osabi.def         |    1 +
 gdbsupport/signals.cc        |   10 +
 include/gdb/signals.def      |    4 +-
 31 files changed, 6524 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/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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-04-24  3:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-23 18:59 [PATCH v4 0/2] Support for Haiku/x86-64 in GDB Jérôme Duval
2026-04-23 18:59 ` [PATCH v4 1/2] gdbserver: Haiku support Jérôme Duval
2026-04-24  3:02   ` Simon Marchi
2026-04-23 18:59 ` [PATCH v4 2/2] gdb: " Jérôme Duval
2026-04-24  3:10   ` Simon Marchi
2026-04-24  3:13   ` Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox