[PATCH] "OVERLAY ON" does not exist.

Jim Blandy jimb@zwingli.cygnus.com
Sat Apr 1 00:00:00 GMT 2000


> 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");
> 


More information about the Gdb-patches mailing list