diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-04-25 15:15:54 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-04-25 15:18:00 +0100 |
commit | f7cc213124f45b589c7b4bd9420252dc126282d9 (patch) | |
tree | 3922aac4287a7e62932cc6870f478031e4556f7a /gdb/python | |
parent | 8e93ae68317bd33c09d441bbba9f2dc1904b9073 (diff) | |
download | gdb-f7cc213124f45b589c7b4bd9420252dc126282d9.zip gdb-f7cc213124f45b589c7b4bd9420252dc126282d9.tar.gz gdb-f7cc213124f45b589c7b4bd9420252dc126282d9.tar.bz2 |
Change gdbarch_wchar_bit for AArch64 and ARM
The size of wchar_t on AArch64 and ARM is 4-byte, so we can use the
default value (4*TARGET_CHAR_BIT).
This patch fixes some fails in gdb.cp/wide_char_types.exp on
aarch64-linux.
gdb:
2017-04-25 Yao Qi <yao.qi@linaro.org>
* aarch64-tdep.c (aarch64_gdbarch_init): Don't call
set_gdbarch_wchar_bit.
* arm-tdep.c (arm_gdbarch_init): Likewise.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions