diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-10-03 22:20:18 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-10-05 13:20:50 -0400 |
commit | aa9be61e7d4097f62813c216b4dc2288b8b402d5 (patch) | |
tree | 17d2c74b0cd14f28b02c9e84fa0a9e9fd081c57c /gdb/python/py-inferior.c | |
parent | a49d37f32e445f8d72085150889db3fbf11503f6 (diff) | |
download | gdb-aa9be61e7d4097f62813c216b4dc2288b8b402d5.zip gdb-aa9be61e7d4097f62813c216b4dc2288b8b402d5.tar.gz gdb-aa9be61e7d4097f62813c216b4dc2288b8b402d5.tar.bz2 |
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>
Diffstat (limited to 'gdb/python/py-inferior.c')
-rw-r--r-- | gdb/python/py-inferior.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index 906d402..e7a9d82 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -196,7 +196,7 @@ python_new_objfile (struct objfile *objfile) if (objfile == NULL) { - if (emit_clear_objfiles_event () < 0) + if (emit_clear_objfiles_event (current_program_space) < 0) gdbpy_print_stack (); } else |