From 65760afbc0c2038b548187d48f414a2b61108b15 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 13 Mar 2004 14:51:55 +0000 Subject: [PATCH] * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information. --- gdb/ChangeLog | 4 ++++ gdb/m68hc11-tdep.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 96e39b0fee..74ec08c03d 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 278adf7af8..efe050955e 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)