diff options
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/h8300/tm-h8300.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h index 34b95cc..b398d2f 100644 --- a/gdb/config/h8300/tm-h8300.h +++ b/gdb/config/h8300/tm-h8300.h @@ -135,6 +135,11 @@ extern CORE_ADDR h8300_skip_prologue (); #define REGISTER_NAMES \ {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "sp", "ccr","pc","cycles","tick","inst"} +/* An array of names of registers. */ + +extern char **h8300_register_names; +#define REGISTER_NAME(i) h8300_register_names[i] + /* Register numbers of various important registers. Note that some of these values are "real" register numbers, and correspond to the general registers of the machine, |