mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
2011-03-02 Michael Snyder <msnyder@vmware.com>
* utils.c (parse_escape): Escape the escape char.
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
2011-03-02 Michael Snyder <msnyder@vmware.com>
|
2011-03-02 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
|
* utils.c (parse_escape): Escape the escape char.
|
||||||
|
|
||||||
* python/py-inferior.c (build_inferior_list): Error out if
|
* python/py-inferior.c (build_inferior_list): Error out if
|
||||||
PyList_Append fails.
|
PyList_Append fails.
|
||||||
(gdbpy_inferiors): Error out if build_inferior_list fails.
|
(gdbpy_inferiors): Error out if build_inferior_list fails.
|
||||||
|
@ -2001,10 +2001,9 @@ parse_escape (struct gdbarch *gdbarch, char **string_ptr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!host_char_to_target (gdbarch, c, &target_char))
|
if (!host_char_to_target (gdbarch, c, &target_char))
|
||||||
error
|
error ("The escape sequence `\\%c' is equivalent to plain `%c',"
|
||||||
("The escape sequence `\%c' is equivalent to plain `%c', which"
|
" which has no equivalent\nin the `%s' character set.",
|
||||||
" has no equivalent\n" "in the `%s' character set.", c, c,
|
c, c, target_charset (gdbarch));
|
||||||
target_charset (gdbarch));
|
|
||||||
return target_char;
|
return target_char;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user