diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-12-10 23:07:24 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-12-10 23:07:24 +0000 |
commit | d70a61e74c649e3b3d64b821f5f5415e45febaf4 (patch) | |
tree | b07faa38ea128606f29277767e5bc616ad727b10 /gdb/altos-xdep.c | |
parent | 986b3b988a0d2418ced8f7d75158624673481b83 (diff) | |
download | gdb-d70a61e74c649e3b3d64b821f5f5415e45febaf4.zip gdb-d70a61e74c649e3b3d64b821f5f5415e45febaf4.tar.gz gdb-d70a61e74c649e3b3d64b821f5f5415e45febaf4.tar.bz2 |
CARP:
More replace reg_name[] with REGISTER_NAME().
Diffstat (limited to 'gdb/altos-xdep.c')
-rw-r--r-- | gdb/altos-xdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/altos-xdep.c b/gdb/altos-xdep.c index e7b652c..5727332 100644 --- a/gdb/altos-xdep.c +++ b/gdb/altos-xdep.c @@ -136,10 +136,10 @@ core_file_command (filename, from_tty) if (val < 0 || (val = myread (corechan, buf, sizeof buf)) < 0) { - char * buffer = (char *) alloca (strlen (reg_names[regno]) + char * buffer = (char *) alloca (strlen (REGISTER_NAME (regno)) + 30); strcpy (buffer, "Reading register "); - strcat (buffer, reg_names[regno]); + strcat (buffer, REGISTER_NAME (regno)); perror_with_name (buffer); } |