aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2002-03-29 23:34:43 +0000
committerJim Blandy <jimb@codesourcery.com>2002-03-29 23:34:43 +0000
commit9eb6e5a1a585146500e49fcc85e79b3f05196f16 (patch)
treea3c15fccfe718d924db57d93ac1980c2cc7fdae1 /gdb
parentf00ef9ead4743dc347b295d5876d3ad2a0092594 (diff)
downloadgdb-9eb6e5a1a585146500e49fcc85e79b3f05196f16.zip
gdb-9eb6e5a1a585146500e49fcc85e79b3f05196f16.tar.gz
gdb-9eb6e5a1a585146500e49fcc85e79b3f05196f16.tar.bz2
* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
unescaped newlines in string literals, but newer ones don't. So escape them.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/cli/cli-dump.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6ee70f0..a4d7048 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2002-03-29 Jim Blandy <jimb@redhat.com>
+
+ * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
+ unescaped newlines in string literals, but newer ones don't. So
+ escape them.
+
2002-03-26 Michael Snyder <msnyder@redhat.com>
Andrew Cagney <cagney@redhat.com>
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c
index 5ea3b49..6584d5e 100644
--- a/gdb/cli/cli-dump.c
+++ b/gdb/cli/cli-dump.c
@@ -816,7 +816,7 @@ to the specified FILE in raw target ordered bytes.",
"Restore the contents of FILE to target memory.\n\
Arguments are FILE OFFSET START END where all except FILE are optional.\n\
OFFSET will be added to the base address of the file (default zero).\n\
-If START and END are given, only the file contents within that range
+If START and END are given, only the file contents within that range\n\
(file relative) will be restored to target memory.");
c->completer = filename_completer;
/* FIXME: completers for other commands. */