gdb: add program_space parameter to emit_clear_objfiles_event
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Oct 2023 02:20:18 +0000 (22:20 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 5 Oct 2023 17:20:50 +0000 (13:20 -0400)
commitaa9be61e7d4097f62813c216b4dc2288b8b402d5
tree17d2c74b0cd14f28b02c9e84fa0a9e9fd081c57c
parenta49d37f32e445f8d72085150889db3fbf11503f6
gdb: add program_space parameter to emit_clear_objfiles_event

Add program_space space parameters to emit_clear_objfiles_event and
create_clear_objfiles_event_object, making the reference to
current_program_space bubble up a bit.

Change-Id: I5fde2071712781e5d45971fa0ab34d85d3a49a71
Approved-By: Tom Tromey <tom@tromey.com>
gdb/python/py-event.h
gdb/python/py-inferior.c
gdb/python/py-newobjfileevent.c