[PATCH 0/5] Refine the NetBSD support

Kamil Rytarowski
2020-09-23T04:26:18Z

Fix the NetBSD/i386 build of the native GDB code.

Refactor the gdbserver and amd64 target to be agnostic to more
targets. Add i386 gdbserver support.

Fix portability issue in agent.cc.

Kamil Rytarowski (5):
Include the x86-bsd-nat.h header and fix the NetBSD/i386 build
Preinitialize the sockaddr_un variable to zero
Refactor the NetBSD amd64 gdbserver support
Add NetBSD/i386 gdbserver support
Remove the old sanity check of sigcontext offsets for NetBSD/i386

gdb/ChangeLog | 8 ++
gdb/i386-bsd-nat.c | 6 +-
gdb/i386-nbsd-nat.c | 1 +
gdbserver/ChangeLog | 23 +++++
gdbserver/Makefile.in | 1 +
gdbserver/configure.srv | 6 ++
gdbserver/netbsd-amd64-low.cc | 53 ++++++++----
gdbserver/netbsd-i386-low.cc | 157 ++++++++++++++++++++++++++++++++++
gdbserver/netbsd-low.cc | 13 ++-
gdbserver/netbsd-low.h | 30 ++-----
gdbsupport/ChangeLog | 4 +
gdbsupport/agent.cc | 2 +-
12 files changed, 252 insertions(+), 52 deletions(-)
create mode 100644 gdbserver/netbsd-i386-low.cc

--
2.28.0