diff options
author | Jim Blandy <jimb@codesourcery.com> | 2002-03-29 23:34:43 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2002-03-29 23:34:43 +0000 |
commit | 7b1aa6caba893ff3fca877c579e2deab15fd16b4 (patch) | |
tree | 733c8d339d649117a8f56ac90bbb9ae0e9f530ed | |
parent | beb9e43f1ac0d42169969a3a035e046009cd4ee8 (diff) | |
download | gdb-7b1aa6caba893ff3fca877c579e2deab15fd16b4.tar.gz |
* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
unescaped newlines in string literals, but newer ones don't. So
escape them.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/cli/cli-dump.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6ee70f014e3..a4d704837ea 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 5ea3b499b77..6584d5ec409 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. */ |