diff options
author | Will Newton <willnewton@sourceware.org> | 2013-06-07 07:49:10 +0000 |
---|---|---|
committer | Will Newton <willnewton@sourceware.org> | 2013-06-07 07:49:10 +0000 |
commit | fe8400b4383bda9333b559255b63c2c659e9ad5f (patch) | |
tree | b7d6eeb648a8e617a8f83677f62a1d6c5f71ccca /gdb/testsuite/gdb.cp/m-static.exp | |
parent | 20df6206ba0b4f41c842646a3f75a6743fb41090 (diff) | |
download | gdb-fe8400b4383bda9333b559255b63c2c659e9ad5f.zip gdb-fe8400b4383bda9333b559255b63c2c659e9ad5f.tar.gz gdb-fe8400b4383bda9333b559255b63c2c659e9ad5f.tar.bz2 |
gdb/printcmd.c: Fix printing of Thumb minimal symbols.
In build_address_symbolic we call gdbarch_addr_bits_remove for
symbols in the symbol table but not for minimal symbols. This
causes a failure in gdb.cp/virtfunc.exp on ARM, as the address
of the virtual thunk is given an offset of 1 when in Thumb mode.
gdb/ChangeLog:
2013-06-07 Will Newton <will.newton@linaro.org>
* printcmd.c (build_address_symbolic): Call
gdbarch_addr_bits_remove for text minimal symbols.
Diffstat (limited to 'gdb/testsuite/gdb.cp/m-static.exp')
0 files changed, 0 insertions, 0 deletions