This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] "OVERLAY ON" does not exist.



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]