diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-01-13 23:01:22 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-01-13 23:01:22 +0000 |
commit | 4ffa5a33921b942a16f4c2d14177d2e5d9d075d3 (patch) | |
tree | d4310067bc04b5b916e0d1f85fb8d95122dc4a01 /binutils/rescoff.c | |
parent | de8fa76c44b010437d7ceafd20e2b0fb0d47e961 (diff) | |
download | gdb-4ffa5a33921b942a16f4c2d14177d2e5d9d075d3.zip gdb-4ffa5a33921b942a16f4c2d14177d2e5d9d075d3.tar.gz gdb-4ffa5a33921b942a16f4c2d14177d2e5d9d075d3.tar.bz2 |
[Ada] Fix printing of Wide_Wide_Strings
This fixes the printing of Wide_Wide_String objects. For instance,
consider:
My_WWS : Wide_Wide_String := " helo";
Before this patch is applied, GDB prints:
(gdb) print my_wws
$1 = " ["00"]h["00"]e"
gdb/ChangeLog:
* ada-valprint.c (ada_emit_char): Remove strange code.
Check that c is <= UCHAR_MAX before passing it to isascii.
(char_at): Do not assume that TYPE_LEN is either 1 or 2.
Diffstat (limited to 'binutils/rescoff.c')
0 files changed, 0 insertions, 0 deletions