From: Eli Zaretskii Date: Mon, 3 Apr 2000 15:16:13 +0000 (+0000) Subject: * symfile.c (map_overlay_command, unmap_overlay_command): Fix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=515ad16ca794d4b793f853ca68a5371589a27bd7;p=binutils-gdb.git * symfile.c (map_overlay_command, unmap_overlay_command): Fix error message: there's no "overlay on" command. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b5adb554022..b3dfdd11811 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-04-03 Eli Zaretskii + + * symfile.c (map_overlay_command, unmap_overlay_command): Fix + error message: there's no "overlay on" command. + 2000-04-03 Eli Zaretskii * Makefile.in (copying.c): Depend on copying.txt, not COPYING. diff --git a/gdb/symfile.c b/gdb/symfile.c index 53f9e76bb50..cb334149c7b 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -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");