aboutsummaryrefslogtreecommitdiff
path: root/gdb/source-cache.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2024-07-30 10:47:58 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2024-08-02 11:18:49 -0400
commit713e89012e43c83a6c1bb957c43ff58e5433336c (patch)
tree325956e04f588f54e3007a4eb6f53c631f7017bf /gdb/source-cache.c
parent05d193cacd5b845f458e8c77d9e3c909862282a3 (diff)
downloadgdb-713e89012e43c83a6c1bb957c43ff58e5433336c.zip
gdb-713e89012e43c83a6c1bb957c43ff58e5433336c.tar.gz
gdb-713e89012e43c83a6c1bb957c43ff58e5433336c.tar.bz2
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>
Diffstat (limited to 'gdb/source-cache.c')
0 files changed, 0 insertions, 0 deletions