1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / arm-xdep.c
index f0b3b99f4339a3cf963c4dd7d441d43bb326fc05..f0d806e82e747051306cdda30d1c19ac5da73a9a 100644 (file)
@@ -246,10 +246,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);
                }
@@ -386,7 +386,7 @@ exec_file_command (filename, from_tty)
       validate_files ();
     }
   else if (from_tty)
-    printf ("No exec file now.\n");
+    printf ("No executable file now.\n");
 
   /* Tell display code (if any) about the changed file name.  */
   if (exec_file_display_hook)
This page took 0.023134 seconds and 4 git commands to generate.