]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/infcmd.c
gdb: update now gdbarch_register_name doesn't return nullptr
authorAndrew Burgess <aburgess@redhat.com>
Wed, 31 Aug 2022 14:42:43 +0000 (15:42 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Sun, 2 Oct 2022 13:21:25 +0000 (14:21 +0100)
commit637b2f86138a8ec0ab0fe89d3e4c5c111559d7f2
tree3d2f7482d06adeecbfddada36372cb20a3c70a12
parent9b9e61c7cf49abdf9c2703c4d1f555d762c6e49f
gdb: update now gdbarch_register_name doesn't return nullptr

After the previous few commit, gdbarch_register_name no longer returns
nullptr.  This commit audits all the calls to gdbarch_register_name
and removes any code that checks the result against nullptr.

There should be no visible change after this commit.
16 files changed:
gdb/alpha-tdep.c
gdb/arch-utils.c
gdb/csky-tdep.c
gdb/h8300-tdep.c
gdb/infcmd.c
gdb/m68hc11-tdep.c
gdb/mi/mi-main.c
gdb/mips-tdep.c
gdb/nds32-tdep.c
gdb/regcache.c
gdb/reggroups.c
gdb/riscv-tdep.c
gdb/sh-tdep.c
gdb/tui/tui-regs.c
gdb/user-regs.c
gdb/valops.c