projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Teach GDB that wchar_t is a built-in type in C++ mode
[deliverable/binutils-gdb.git]
/
gdb
/
i386-tdep.c
diff --git
a/gdb/i386-tdep.c
b/gdb/i386-tdep.c
index 70bd47ce3000a7fbdb79dc097bbd76dba0a60d41..49f9824842d3ee4af7d7d7ed54972e2bff86ccc2 100644
(file)
--- a/
gdb/i386-tdep.c
+++ b/
gdb/i386-tdep.c
@@
-4515,6
+4515,9
@@
i386_go32_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_has_dos_based_file_system (gdbarch, 1);
set_gdbarch_gnu_triplet_regexp (gdbarch, i386_gnu_triplet_regexp);
+
+ set_gdbarch_wchar_bit (gdbarch, 16);
+ set_gdbarch_wchar_signed (gdbarch, 0);
}
\f
This page took
0.028214 seconds
and
4
git commands to generate.