This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH: fix unescaped newline
- From: Jim Blandy <jimb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 29 Mar 2002 18:34:05 -0500 (EST)
- Subject: PATCH: fix unescaped newline
Obvious fix.
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.
Index: gdb/cli/cli-dump.c
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-dump.c,v
retrieving revision 1.1
diff -c -r1.1 cli-dump.c
*** gdb/cli/cli-dump.c 2002/03/29 01:22:41 1.1
--- gdb/cli/cli-dump.c 2002/03/29 23:30:48
***************
*** 816,822 ****
"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
(file relative) will be restored to target memory.");
c->completer = filename_completer;
/* FIXME: completers for other commands. */
--- 816,822 ----
"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\n\
(file relative) will be restored to target memory.");
c->completer = filename_completer;
/* FIXME: completers for other commands. */