binutils-gdb/gdb/python
Tom Tromey 0b4fe76f95 Add gdb.free_objfile event registry
Currently, Python code can use event registries to detect when gdb
loads a new objfile, and when gdb clears the objfile list.  However,
there's no way to detect the removal of an objfile, say when the
inferior calls dlclose.

This patch adds a gdb.free_objfile event registry and arranges for an
event to be emitted in this case.
2022-07-18 11:25:34 -06:00
..
lib/gdb Run 'black' on gdb 2022-07-15 07:55:32 -06:00
py-all-events.def Add gdb.free_objfile event registry 2022-07-18 11:25:34 -06:00
py-arch.c Accept gdb.Value in more Python APIs 2022-07-08 14:14:58 -06:00
py-auto-load.c
py-block.c gdb: remove BLOCK_SUPERBLOCK macro 2022-04-27 22:05:03 -04:00
py-bpevent.c
py-breakpoint.c Convert location_spec_to_string to a method 2022-06-17 09:58:49 +01:00
py-cmd.c Use PyBool_FromLong 2022-06-23 09:27:30 -06:00
py-connection.c
py-continueevent.c
py-disasm.c gdb/python: implement the print_insn extension language hook 2022-06-15 09:44:54 +01:00
py-event-types.def Add gdb.free_objfile event registry 2022-07-18 11:25:34 -06:00
py-event.c
py-event.h Add gdb.free_objfile event registry 2022-07-18 11:25:34 -06:00
py-events.h Use bool for evregpy_no_listeners_p 2022-06-03 10:35:30 -06:00
py-evtregistry.c Make 'import gdb.events' work 2022-07-05 10:28:39 -06:00
py-evts.c Make 'import gdb.events' work 2022-07-05 10:28:39 -06:00
py-exitedevent.c
py-finishbreakpoint.c event_location -> location_spec 2022-06-17 09:41:24 +01:00
py-frame.c Add gdb.current_language and gdb.Frame.language 2022-06-01 06:15:53 -06:00
py-framefilter.c
py-function.c
py-gdb-readline.c
py-inferior.c Add gdb.free_objfile event registry 2022-07-18 11:25:34 -06:00
py-infevents.c
py-infthread.c
py-instruction.c
py-instruction.h
py-lazy-string.c
py-linetable.c
py-membuf.c
py-micmd.c
py-newobjfileevent.c Add gdb.free_objfile event registry 2022-07-18 11:25:34 -06:00
py-objfile.c Add gdb.Objfile.is_file attribute 2022-07-05 11:22:20 -06:00
py-param.c gdb/python: improve formatting of help text for user defined commands 2022-05-28 10:36:50 +01:00
py-prettyprint.c Add 'nibbles' to gdb.print_options 2022-07-15 09:42:39 -06:00
py-progspace.c Accept gdb.Value in more Python APIs 2022-07-08 14:14:58 -06:00
py-record-btrace.c
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c
py-record.h
py-ref.h
py-registers.c gdb: move struct reggroup into reggroups.h header 2022-04-07 16:01:18 +01:00
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c Use PyBool_FromLong 2022-06-23 09:27:30 -06:00
py-symtab.c gdb: remove BLOCKVECTOR_BLOCK and BLOCKVECTOR_NBLOCKS macros 2022-04-27 22:05:03 -04:00
py-threadevent.c
py-tui.c
py-type.c Use PyBool_FromLong 2022-06-23 09:27:30 -06:00
py-unwind.c
py-utils.c gdb/python: convert gdbpy_err_fetch to use gdbpy_ref 2022-06-15 09:44:54 +01:00
py-value.c Add 'summary' mode to Value.format_string 2022-07-15 09:26:54 -06:00
py-varobj.c Expose current 'print' settings to Python 2022-07-15 09:25:33 -06:00
py-xmethods.c
python-config.py
python-internal.h Expose current 'print' settings to Python 2022-07-15 09:25:33 -06:00
python.c Expose current 'print' settings to Python 2022-07-15 09:25:33 -06:00
python.h