aboutsummaryrefslogtreecommitdiff
path: root/gdb/exceptions.c
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2015-03-04 10:40:41 +0100
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2015-03-04 10:40:41 +0100
commit87de11c05253566abb04479a4842cc934d0c822e (patch)
treec0f9fb362710eb5f790d80f7a8b86a4f6a4d36b1 /gdb/exceptions.c
parentc214c7cfd38006369e1da13644000ce2e180a5fa (diff)
downloadgdb-87de11c05253566abb04479a4842cc934d0c822e.zip
gdb-87de11c05253566abb04479a4842cc934d0c822e.tar.gz
gdb-87de11c05253566abb04479a4842cc934d0c822e.tar.bz2
S390: Name "invisible" registers with the empty string instead of NULL
When adding vector register support to GDB, s390_register_name() was added to suppress the right halves of the first 16 vector registers. However, that function returned NULL instead of an empty string in such a case. This leads to an incomplete list of registers returned by "complete info registers ", because completion stops at the first NULL return value from user_reg_map_regnum_to_name(). gdb/ChangeLog: * s390-linux-tdep.c (s390_register_name): Return empty string instead of NULL for registers that shouldn't be visible.
Diffstat (limited to 'gdb/exceptions.c')
0 files changed, 0 insertions, 0 deletions