[Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1

kevinb at redhat dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 7 00:35:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84550

--- Comment #13 from Kevin Buettner <kevinb at redhat dot com> ---
(In reply to Kevin Buettner from comment #11)

> This code, which is in find_pc_partial_function_gnu_ifunc(), incorrectly
> identifies this address, 0x400590, as belonging to qux:
> 
>   if (mapped_pc >= cache_pc_function_low
>       && mapped_pc < cache_pc_function_high
>       && section == cache_pc_function_section)
>     goto return_cached_value;

I've determined that if this code is disabled, then things work.  I'm not
suggesting this as a fix, just adding another data point.


More information about the Gcc-bugs mailing list