* m68hc11-tdep.c (m68hc11_register_name): Get soft reg information.

This commit is contained in:
Stephane Carrez 2004-03-13 14:51:55 +00:00
parent 10f5941595
commit 65760afbc0
2 changed files with 6 additions and 0 deletions

View 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.

View 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)