aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parentbf1798eaab17fe7c82f6343a6dcaa10aae57692e (diff)
downloadgdb-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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/symfile.c8
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b5adb55..b3dfdd1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
+ * symfile.c (map_overlay_command, unmap_overlay_command): Fix
+ error message: there's no "overlay on" command.
+
+2000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
+
* Makefile.in (copying.c): Depend on copying.txt, not COPYING.
(copying.txt): New target, a link to COPYING.
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");