diff options
Diffstat (limited to 'gdb/rl78-tdep.c')
-rw-r--r-- | gdb/rl78-tdep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/rl78-tdep.c b/gdb/rl78-tdep.c index c97e7c8..bbe61c1 100644 --- a/gdb/rl78-tdep.c +++ b/gdb/rl78-tdep.c @@ -1217,9 +1217,7 @@ rl78_dwarf_reg_to_regnum (struct gdbarch *gdbarch, int reg) else if (reg == 37) return RL78_PC_REGNUM; else - internal_error (__FILE__, __LINE__, - _("Undefined dwarf2 register mapping of reg %d"), - reg); + return -1; } /* Implement the `register_sim_regno' gdbarch method. */ |