This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4] Cleanups for MIPS registers (mostly FreeBSD-specific)
- From: John Baldwin <jhb at FreeBSD dot org>
- To: gdb-patches at sourceware dot org
- Date: Wed, 12 Apr 2017 11:37:23 -0700
- Subject: [PATCH 0/4] Cleanups for MIPS registers (mostly FreeBSD-specific)
- Authentication-results: sourceware.org; auth=none
Various small fixes to working with registers on FreeBSD/mips as well as
one OS-agnostic fix to handle unavailable registers more gracefully in
'info registers'. Note that for the 32-bit info registers there isn't
room in the table layout for the full "<unavailable>" string, so a
truncated string "<unavail" is output instead. I originally tried to
use "<unavail>" but it is one character too wide for 32-bit (8 hex
characters per register).
John Baldwin (4):
Cleanups to FreeBSD/mips native register operations.
Use mips_regnum instead of constants for FreeBSD/mips register
operations.
Consistently use fprintf_filtered when displaying MIPS registers.
Don't throw an error in 'info registers' for unavailable MIPS GP
registers.
gdb/ChangeLog | 28 ++++++++++++++++++++++++++++
gdb/mips-fbsd-nat.c | 26 ++++++++++++++------------
gdb/mips-fbsd-tdep.c | 29 ++++++++++++++++-------------
gdb/mips-tdep.c | 12 +++++++++---
4 files changed, 67 insertions(+), 28 deletions(-)
--
2.11.0