diff options
Diffstat (limited to 'gdb/d30v-tdep.c')
-rw-r--r-- | gdb/d30v-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/d30v-tdep.c b/gdb/d30v-tdep.c index 2cdb25d..588e1de 100644 --- a/gdb/d30v-tdep.c +++ b/gdb/d30v-tdep.c @@ -791,10 +791,10 @@ d30v_do_registers_info (regnum, fpregs) if (regnum != -1) { - if (reg_names[0] == NULL || reg_names[0][0] == '\000') + if (REGISTER_NAME (0) == NULL || REGISTER_NAME (0)[0] == '\000') return; - printf_filtered ("%s ", reg_names[regnum]); + printf_filtered ("%s ", REGISTER_NAME (regnum)); d30v_print_register (regnum, 0); printf_filtered ("\n"); |