diff options
author | Eli Zaretskii <eliz@gnu.org> | 2000-04-03 15:16:13 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2000-04-03 15:16:13 +0000 |
commit | 515ad16ca794d4b793f853ca68a5371589a27bd7 (patch) | |
tree | 8d4502b47963d0a3301521ba2de8646029fb2e4a /gdb/symfile.c | |
parent | bf1798eaab17fe7c82f6343a6dcaa10aae57692e (diff) | |
download | gdb-515ad16ca794d4b793f853ca68a5371589a27bd7.zip gdb-515ad16ca794d4b793f853ca68a5371589a27bd7.tar.gz gdb-515ad16ca794d4b793f853ca68a5371589a27bd7.tar.bz2 |
* symfile.c (map_overlay_command, unmap_overlay_command): Fix
error message: there's no "overlay on" command.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 53f9e76..cb33414 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -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"); |