diff options
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -629,7 +629,11 @@ extern PTR xmrealloc PARAMS ((PTR, PTR, long)); extern int parse_escape PARAMS ((char **)); -extern char *reg_names[]; +/* compat - handle old targets that just define REGISTER_NAMES */ +#ifndef REGISTER_NAME +extern char *gdb_register_names[]; +#define REGISTER_NAME(i) gdb_register_names[i] +#endif /* Message to be printed before the error message, when an error occurs. */ |