This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Don't throw an error in 'info registers' for unavailable MIPS registers.
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Mon, 19 Jun 2017 18:10:57 -0400
- Subject: [binutils-gdb] Don't throw an error in 'info registers' for unavailable MIPS registers.
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 325c9fd4aa054118b80c621262f10fc6ffe98e25 ***
Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 325c9fd4aa054118b80c621262f10fc6ffe98e25
Don't throw an error in 'info registers' for unavailable MIPS registers.
'info registers' for MIPS throws an error and when it first encounters
an unavailable register. This does not match other architectures
which annotate unavailable registers and continue to print out the
values of subsequent registers. Replace the error by displaying an
aligned "<unavailable>". This string is truncated to "<unavl>" when
displaying a 32-bit register.
gdb/ChangeLog:
* mips-tdep.c (print_gp_register_row): Don't error for unavailable
registers.