summaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2000-04-03 15:16:13 +0000
committerEli Zaretskii <eliz@gnu.org>2000-04-03 15:16:13 +0000
commit515ad16ca794d4b793f853ca68a5371589a27bd7 (patch)
tree8d4502b47963d0a3301521ba2de8646029fb2e4a /gdb/symfile.c
parentbf1798eaab17fe7c82f6343a6dcaa10aae57692e (diff)
downloadbinutils-gdb-515ad16ca794d4b793f853ca68a5371589a27bd7.tar.gz
* 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.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 53f9e76bb50..cb334149c7b 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");