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);
}
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)