From 515ad16ca794d4b793f853ca68a5371589a27bd7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 3 Apr 2000 15:16:13 +0000 Subject: [PATCH] * symfile.c (map_overlay_command, unmap_overlay_command): Fix error message: there's no "overlay on" command. --- gdb/ChangeLog | 5 +++++ gdb/symfile.c | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b5adb55..b3dfdd1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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. (copying.txt): New target, a link to COPYING. diff --git a/gdb/symfile.c b/gdb/symfile.c index 53f9e76..cb33414 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"); -- 2.7.4