aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-09-06 08:44:52 -0600
committerTom Tromey <tromey@adacore.com>2023-01-03 08:45:00 -0700
commit862ebb27bbe30768356776a10827dd1c0824d405 (patch)
tree3e146ef24057421894d83c846f122f7d604925dc /gdb/stack.c
parentb46632ca16021962c33c2ea32b8104fd258ef0af (diff)
downloadfsf-binutils-gdb-862ebb27bbe30768356776a10827dd1c0824d405.zip
fsf-binutils-gdb-862ebb27bbe30768356776a10827dd1c0824d405.tar.gz
fsf-binutils-gdb-862ebb27bbe30768356776a10827dd1c0824d405.tar.bz2
Fix crash in amd64-tdep.c
amd64-tdep.c could crash when 'finish'ing from a function whose return type had variable length. In this situation, the value will be passed by reference, and this patch avoids the crash. (Note that this does not fully fix the bug reported, but it does fix the crash, so it seems worthwhile to land independently.)
Diffstat (limited to 'gdb/stack.c')
0 files changed, 0 insertions, 0 deletions