diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-03-02 22:11:27 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-03-02 22:11:27 +0000 |
commit | 905b671bb7f990dff3f2f01d71886e60a54d11f9 (patch) | |
tree | 8661363f4e01e5207a2da50692d01cfd443fd7b8 /gdb/utils.c | |
parent | 89243142dcfe316508ec8449a36412f3d510156c (diff) | |
download | gdb-905b671bb7f990dff3f2f01d71886e60a54d11f9.zip gdb-905b671bb7f990dff3f2f01d71886e60a54d11f9.tar.gz gdb-905b671bb7f990dff3f2f01d71886e60a54d11f9.tar.bz2 |
2011-03-02 Michael Snyder <msnyder@vmware.com>
* utils.c (parse_escape): Escape the escape char.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 4668515..46b4612 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -2001,10 +2001,9 @@ parse_escape (struct gdbarch *gdbarch, char **string_ptr) } if (!host_char_to_target (gdbarch, c, &target_char)) - error - ("The escape sequence `\%c' is equivalent to plain `%c', which" - " has no equivalent\n" "in the `%s' character set.", c, c, - target_charset (gdbarch)); + error ("The escape sequence `\\%c' is equivalent to plain `%c'," + " which has no equivalent\nin the `%s' character set.", + c, c, target_charset (gdbarch)); return target_char; } |