diff options
author | Tom Tromey <tromey@adacore.com> | 2024-05-24 12:31:45 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-06-10 14:10:09 -0600 |
commit | c4c093a31f6252df4ce7b1e23da4a4290c852c51 (patch) | |
tree | 1bf3a25d0db36e9adbee0f7aaafe503b4688d265 /gdbsupport/common-debug.h | |
parent | 58a628530ee68fe705b443947643037319e7d44e (diff) | |
download | gdb-c4c093a31f6252df4ce7b1e23da4a4290c852c51.zip gdb-c4c093a31f6252df4ce7b1e23da4a4290c852c51.tar.gz gdb-c4c093a31f6252df4ce7b1e23da4a4290c852c51.tar.bz2 |
Make global_symbol_searcher::filenames private
This patch renames global_symbol_searcher::filenames and makes it
private, adding a new method to append a filename to the vector. This
also cleans up memory management here, removing an alloca from rbreak,
and removing a somewhat ugly SCOPE_EXIT from the Python code, in favor
of having global_symbol_searcher manage the memory itself.
Regression tested on x86-64 Fedora 38.
Diffstat (limited to 'gdbsupport/common-debug.h')
0 files changed, 0 insertions, 0 deletions