aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-editing.exp
diff options
context:
space:
mode:
authorGuinevere Larsen <blarsen@redhat.com>2024-08-14 12:03:57 -0300
committerGuinevere Larsen <blarsen@redhat.com>2024-08-19 09:12:05 -0300
commita0780848529d9f820786e231629f43f4801b2f8a (patch)
treed40df6396b121d640cb0d0ea636fb9622c0137b9 /gdb/testsuite/gdb.mi/mi-editing.exp
parentd71c16aec2a5d9a34791563a48b7347b02718b0e (diff)
downloadgdb-master.zip
gdb-master.tar.gz
gdb-master.tar.bz2
gdb: Fix printing frame when reversing out of a recursive call with clangHEADmaster
Commit bf2813aff8f2988ad3d53e819a0415abf295c91f introduced some logic to not refresh the step frame id if it detects that the inferior is reverse stepping out of a recursive call, so that we would still print frame information once the inferior stops. However, that logic was overly specific, and wouldn't be hit for inferiors compiled with clang because clang adds line table entries that aren't statements, making process_event_stop_test go through a different branch on the relevant if statement. Fix this by not making the code that detects "reversing out of a recursion" an else clause to the previous if, but a standalone if block. Approved-by: Kevin Buettner <kevinb@redhat.com>
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-editing.exp')
0 files changed, 0 insertions, 0 deletions