mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
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>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user