diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-12-21 16:03:02 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-12-24 09:02:08 -0500 |
commit | 9f02b3a0249e61be6150ff3450726573916fca91 (patch) | |
tree | 3bc14163215990f6eb9c8f666c4af6cad12362d6 /gdb/python/py-unwind.c | |
parent | 6658f874cf7b521bf2ce431fcf31cc89aebc7009 (diff) | |
download | fsf-binutils-gdb-9f02b3a0249e61be6150ff3450726573916fca91.zip fsf-binutils-gdb-9f02b3a0249e61be6150ff3450726573916fca91.tar.gz fsf-binutils-gdb-9f02b3a0249e61be6150ff3450726573916fca91.tar.bz2 |
gdb: pass frame_info_ptr to gdbarch_value_from_register
Pass a frame_info_ptr rather than a frame_id. This avoids having to do
a frame lookup on the callee side, when we can just pass the frame down
directly.
I think this fixes a bug in rs6000-tdep.c where the id of the wrong
frame was set to `VALUE_NEXT_FRAME_ID (v)`.
Change-Id: I77039bc87ea8fc5262f16d0e1446515efa21c565
Diffstat (limited to 'gdb/python/py-unwind.c')
0 files changed, 0 insertions, 0 deletions