* m68hc11-tdep.c (m68hc11_register_name): Get soft reg information.
authorStephane Carrez <stcarrez@nerim.fr>
Sat, 13 Mar 2004 14:51:55 +0000 (14:51 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Sat, 13 Mar 2004 14:51:55 +0000 (14:51 +0000)
gdb/ChangeLog
gdb/m68hc11-tdep.c

index 96e39b0fee9460d11357b708456c8e36b622a3cb..74ec08c03d99fb77bbb7c65ba1535f9855cd8126 100644 (file)
@@ -1,3 +1,7 @@
+2004-03-13  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information.
+
 2004-03-13  Stephane Carrez  <stcarrez@nerim.fr>
 
        * tui/tui-win.h (tui_get_cmd_list): Declare.
index 278adf7af8ba7a5bd9fdc2be436fa8589bcfe21a..efe050955eb2dd9b66051bb1d8668a9befd0ac70 100644 (file)
@@ -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)