]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: make `program_space::free_all_objfiles` use `this`
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 16 May 2024 20:13:20 +0000 (16:13 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 15 Jul 2024 18:34:12 +0000 (14:34 -0400)
commit4113c737bda3aa1ac6ae1c418288a11e810c995e
tree4f4cd1bef4c6e9e277f6d333fabcf3d8f8f5dfca
parentb8c9d0de904198f73a39aa6bf9b27b4bc015e0f8
gdb: make `program_space::free_all_objfiles` use `this`

Use `this` instead of `current_program_space`.  Presumably, the method
wants to check the solibs of "this" program space, not the current
global program space (although they are likely always the same at the
moment).

Change-Id: Iaf0534f36bfd47c04c53ed0657da332bdb8fb906
Approved-By: Tom Tromey <tom@tromey.com>
Reviewed-By: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
gdb/progspace.c