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: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: [PATCH] "OVERLAY ON" does not exist.
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: 20 Mar 2000 15:43:12 -0500
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200003191218.HAA08362@indy.delorie.com>
> 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.
>
> 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 Thu Mar 16 22:57:26 2000
> @@ -2912,7 +2912,7 @@
> asection *bfdsec;
>
> if (!overlay_debugging)
> - error ("Overlay debugging not enabled. Use the 'OVERLAY ON' command.");
> + error ("Overlay debugging not enabled. Use the 'OVERLAY AUTO' command.");
>
> if (args == 0 || *args == 0)
> error ("Argument required: name of an overlay section");
> @@ -2962,7 +2962,7 @@
> struct obj_section *sec;
>
> if (!overlay_debugging)
> - error ("Overlay debugging not enabled. Use the 'OVERLAY ON' command.");
> + error ("Overlay debugging not enabled. Use the 'OVERLAY AUTO' command.");
>
> if (args == 0 || *args == 0)
> error ("Argument required: name of an overlay section");
>