* symfile.c (map_overlay_command, unmap_overlay_command): Fix

error message: there's no "overlay on" command.
This commit is contained in:
Eli Zaretskii 2000-04-03 15:16:13 +00:00
parent bf1798eaab
commit 515ad16ca7
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
* symfile.c (map_overlay_command, unmap_overlay_command): Fix
error message: there's no "overlay on" command.
2000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
* Makefile.in (copying.c): Depend on copying.txt, not COPYING.

View File

@ -2968,7 +2968,9 @@ map_overlay_command (args, from_tty)
asection *bfdsec;
if (!overlay_debugging)
error ("Overlay debugging not enabled. Use the 'OVERLAY ON' command.");
error ("\
Overlay debugging not enabled. Use either the 'overlay auto' or\n\
the 'overlay manual' command.");
if (args == 0 || *args == 0)
error ("Argument required: name of an overlay section");
@ -3018,7 +3020,9 @@ unmap_overlay_command (args, from_tty)
struct obj_section *sec;
if (!overlay_debugging)
error ("Overlay debugging not enabled. Use the 'OVERLAY ON' command.");
error ("\
Overlay debugging not enabled. Use either the 'overlay auto' or\n\
the 'overlay manual' command.");
if (args == 0 || *args == 0)
error ("Argument required: name of an overlay section");