This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, v2] gdb/printcmd.c: Fix printing of Thumb minimal symbols.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]