* symfile.c (map_overlay_command, unmap_overlay_command): Fix
authorEli Zaretskii <eliz@gnu.org>
Mon, 3 Apr 2000 15:16:13 +0000 (15:16 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 3 Apr 2000 15:16:13 +0000 (15:16 +0000)
error message: there's no "overlay on" command.

gdb/ChangeLog
gdb/symfile.c

index b5adb55..b3dfdd1 100644 (file)
@@ -1,5 +1,10 @@
 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.
        (copying.txt): New target, a link to COPYING.
 
index 53f9e76..cb33414 100644 (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");