From: Stephane Carrez Date: Sat, 13 Mar 2004 14:51:55 +0000 (+0000) Subject: * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65760afbc0c2038b548187d48f414a2b61108b15;p=binutils-gdb.git * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 96e39b0fee9..74ec08c03d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-03-13 Stephane Carrez + + * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information. + 2004-03-13 Stephane Carrez * tui/tui-win.h (tui_get_cmd_list): Declare. diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index 278adf7af8b..efe050955eb 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -385,6 +385,8 @@ m68hc11_register_name (int reg_nr) if (reg_nr >= M68HC11_ALL_REGS) return NULL; + m68hc11_initialize_register_info (); + /* If we don't know the address of a soft register, pretend it does not exist. */ if (reg_nr > M68HC11_LAST_HARD_REG && soft_regs[reg_nr].name == 0)