This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/4] Cleanups for MIPS registers (mostly FreeBSD-specific)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]