This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, v2] gdb/printcmd.c: Fix printing of Thumb minimal symbols.
- From: Pedro Alves <palves at redhat dot com>
- To: Will Newton <will dot newton at linaro dot org>
- Cc: gdb-patches at sourceware dot org, patches at linaro dot org
- Date: Thu, 06 Jun 2013 11:37:28 +0100
- Subject: Re: [PATCH, v2] gdb/printcmd.c: Fix printing of Thumb minimal symbols.
- References: <51B052C9 dot 4060703 at linaro dot org>
On 06/06/2013 10:13 AM, Will Newton wrote:
>
> 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-05 Will Newton <will.newton@linaro.org>
>
> * printcmd.c (build_address_symbolic): Call
> gdbarch_addr_bits_remove for text minimal symbols.
OK, thanks.
--
Pedro Alves