diff options
author | Tom Tromey <tom@tromey.com> | 2025-03-28 10:26:36 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2025-04-02 15:50:04 -0600 |
commit | 60ac9c60fe5b6dc5a59a30a971c3fad020fecf45 (patch) | |
tree | 39f10f52867e064c4ae68152cdc40c6673d31e2a /gdb/stack.c | |
parent | 67430148a08cdd9fe93533967e6f39ee777b1dc6 (diff) | |
download | binutils-60ac9c60fe5b6dc5a59a30a971c3fad020fecf45.zip binutils-60ac9c60fe5b6dc5a59a30a971c3fad020fecf45.tar.gz binutils-60ac9c60fe5b6dc5a59a30a971c3fad020fecf45.tar.bz2 |
Clean up cooked_index::done_reading
The cooked index worker maintains the state for the various state
transition in the scanner. It is held by the cooked_index while
scanning is in progress, then deleted once this has completed.
I noticed that none of the arguments to cooked_index::done_reading
were really needed -- the cooked_index already has access to the
worker should it need it. Removing these parameters makes the code a
bit simpler and also cleans up some confusing code around the use of
the deferred warnings object.
Regression tested on x86-64 Fedora 40.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/stack.c')
0 files changed, 0 insertions, 0 deletions