[PATCH PR gdb/22736] [aarch64] gdb crashes on a conditional breakpoint with cast return type

Yao Qi qiyaoltc@gmail.com
Fri Mar 9 16:44:00 GMT 2018


Pedro Alves <palves@redhat.com> writes:

> Today I'm trying to finish/post
> the ifunc-fixing series I pointed at earlier, and hopefully that will give
> me enough background to understand/review this patch (I'm afraid I haven't
> really looked at it in any detail).

FWIW, this issue is *not* related to ifunc.  As Alan described in
previous email, ifunc symbol is OK, but normal function symbol's target
type is NULL, because without debug information, GDB doesn't know the
symbol is a function or not.  I thought about it, but I am not confident
that we can set symbol's target type (for example, set it void or int)
in absent of debug information.

Anyway, it is great if you can take a look.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list