From 9eb6e5a1a585146500e49fcc85e79b3f05196f16 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Fri, 29 Mar 2002 23:34:43 +0000 Subject: [PATCH] * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate unescaped newlines in string literals, but newer ones don't. So escape them. --- gdb/ChangeLog | 6 ++++++ gdb/cli/cli-dump.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 Andrew Cagney 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. */ -- 2.30.2