This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH] "OVERLAY ON" does not exist.
- To: jimb at cygnus dot com
- Subject: Re: [PATCH] "OVERLAY ON" does not exist.
- From: Eli Zaretskii <eliz at delorie dot com>
- Date: Mon, 3 Apr 2000 11:45:10 -0400 (EDT)
- CC: gdb-patches at sourceware dot cygnus dot com
- References: <200003191218.HAA08362@indy.delorie.com> <np8zzd8ja7.fsf@zwingli.cygnus.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> > Caught this small glitch while running the test suite.
> >
> > Okay to commit?
>
> Sure. But I think it should mention both ways to turn it on:
>
> Overlay debugging not enabled. Use either the `overlay auto' or
> the `overlay manual' command.
Done. I committed the patch below.
2000-03-16 Eli Zaretskii <eliz@is.elta.co.il>
* symfile.c (map_overlay_command, unmap_overlay_command): Fix
error message: there's no "overlay on" command.
--- gdb/symfile.c~0 Thu Feb 3 06:35:14 2000
+++ gdb/symfile.c Tue Mar 21 18:07:02 2000
@@ -2912,7 +2912,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");
@@ -2962,7 +2964,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");