]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: remove inline_frame::skipped_frames
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 30 Jul 2024 14:47:58 +0000 (10:47 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 2 Aug 2024 15:18:49 +0000 (11:18 -0400)
commit713e89012e43c83a6c1bb957c43ff58e5433336c
tree325956e04f588f54e3007a4eb6f53c631f7017bf
parent05d193cacd5b845f458e8c77d9e3c909862282a3
gdb: remove inline_frame::skipped_frames

While reviewing [1], it occurred to me that having both the
skipped_frames counter and the skipped_syms vector is redundant.  When
stepping into an inline frame, we can just pop the last element.

[1] https://inbox.sourceware.org/gdb-patches/96cfee31-6a50-4a78-a25b-67e5d061c2a3@simark.ca/T/#m7e0e4b5b6cfc91be3d8ab6d5025a97c2e647103a

Change-Id: I8c10e7fcd05e41c2c838431d06c9e793d18a2198
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/inline-frame.c