aboutsummaryrefslogtreecommitdiff
path: root/cpu/sh.cpu
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-03-03 10:29:06 -0700
committerTom Tromey <tromey@adacore.com>2023-04-21 07:13:45 -0600
commit532d55c0ab4bda1d5da90c6301c7d28ddd98ad18 (patch)
tree0d1accde94c6c7a390aceb3a604593444f6a5285 /cpu/sh.cpu
parent32c8e7265a55ab4cf14fa255115a81134c62fb16 (diff)
downloadgdb-532d55c0ab4bda1d5da90c6301c7d28ddd98ad18.zip
gdb-532d55c0ab4bda1d5da90c6301c7d28ddd98ad18.tar.gz
gdb-532d55c0ab4bda1d5da90c6301c7d28ddd98ad18.tar.bz2
Handle function descriptors in call_site_target
call_site_target::iterate_over_addresses may look up a minimal symbol. On platforms like PPC64 that use function descriptors, this may find an unexpected address. The fix is to use gdbarch_convert_from_func_ptr_addr to convert from a function descriptor to the address recorded at the call site. I've added a new test case that is based on the internal AdaCore test that provoked this bug. However, I'm unable to test it as-is on PPC64.
Diffstat (limited to 'cpu/sh.cpu')
0 files changed, 0 insertions, 0 deletions