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+7.12.1 1/2] Code cleanup: write_exp_msymbol: +is_tls


On Sun, Oct 9, 2016 at 7:56 PM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> --- a/gdb/parse.c
> +++ b/gdb/parse.c
>
>    /* The minimal symbol might point to a function descriptor;
>       resolve it to the actual code address instead.  */
>    pc = gdbarch_convert_from_func_ptr_addr (gdbarch, addr, &current_target);
> -  if (pc != addr)
> +  if (!is_tls && pc != addr)

It does have functionality change.  This should be moved to patch #2?

-- 
Yao (齐尧)


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