gdb/riscv: Use TYPE_SAFE_NAME
authorAndrew Burgess <andrew.burgess@embecosm.com>
Sun, 8 Apr 2018 10:07:56 +0000 (11:07 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 10 Jul 2018 11:46:56 +0000 (12:46 +0100)
commit42ecac1732194293568ab6093c742ca74c1dbdf6
treecdbbcf82cc2545e97eb273ab86db6383264e2206
parent7153abac62fd8d7f20a307c85e3aa77a020ffc42
gdb/riscv: Use TYPE_SAFE_NAME

In debug printing, use TYPE_SAFE_NAME instead of replicating the
functionality using TYPE_NAME and a null check.

gdb/ChangeLog:

* riscv-tdep.c (riscv_print_arg_location): Use TYPE_SAFE_NAME.
gdb/ChangeLog
gdb/riscv-tdep.c