This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/9885] New: field for register names too narrow
- From: "richard dot stuckey at arc dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 23 Feb 2009 16:47:18 -0000
- Subject: [Bug gdb/9885] New: field for register names too narrow
- Reply-to: sourceware-bugzilla at sourceware dot org
In the function default_print_registers_info in file infcmd.c, there is the code
print_spaces_filtered (15 - strlen (gdbarch_register_name
(gdbarch, i)), file);
which assumes that a register names contains at most 15 characters; this is not
true for e.g. the ARC processor, where names may be as much as 22 characters
It would be helpful if this number were made larger; but a better solution would
be to add a function e.g. gdbarch_max_register_name_length which could be called
here instead of using an integer literal.
--
Summary: field for register names too narrow
Product: gdb
Version: 6.8
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: gdb
AssignedTo: unassigned at sourceware dot org
ReportedBy: richard dot stuckey at arc dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=9885
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.