[PATCH v3 0/3] Add FreeBSD/mips targets to GDB

John Baldwin
2017-01-03T18:45:39Z

Changes since V2 are:
- Rework the workaround for mipsn64 core dumps on FreeBSD containing an
empty ELF flags in patch 1. An ELF64 core dump with a zero flags field
now uses bfd_mach_mips4000 instead of bfd_mach_misp3000.
- Add NEWS items for FreeBSD/mips in patches 2 and 3.
- Move the attribution of the FreeBSD/mips patches out of the source
files and into the contributors section of the docs.

John Baldwin (3):
Use bfd_mach_mips4000 as the default machine type for 64-bit MIPS
ABIs.
Add FreeBSD/mips architecture.
Add native target for FreeBSD/mips.

bfd/ChangeLog | 11 +
bfd/elf32-mips.c | 2 +-
bfd/elf64-mips.c | 2 +-
bfd/elfn32-mips.c | 2 +-
bfd/elfxx-mips.c | 11 +-
bfd/elfxx-mips.h | 2 +-
gdb/ChangeLog | 17 ++
gdb/Makefile.in | 3 +
gdb/NEWS | 6 +
gdb/config/mips/fbsd.mh | 3 +
gdb/configure.host | 1 +
gdb/configure.tgt | 5 +
gdb/doc/ChangeLog | 5 +
gdb/doc/gdb.texinfo | 5 +
gdb/mips-fbsd-nat.c | 136 ++++++++++++
gdb/mips-fbsd-tdep.c | 560 ++++++++++++++++++++++++++++++++++++++++++++++++
gdb/mips-fbsd-tdep.h | 28 +++
17 files changed, 791 insertions(+), 8 deletions(-)
create mode 100644 gdb/config/mips/fbsd.mh
create mode 100644 gdb/mips-fbsd-nat.c
create mode 100644 gdb/mips-fbsd-tdep.c
create mode 100644 gdb/mips-fbsd-tdep.h

--
2.11.0