binutils-gdb/gdb/testsuite/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
..
amd64-py-framefilter-invalidarg.S
compare-enum-type-a.c
compare-enum-type-b.c
compare-enum-type.exp
compare-enum-type.h
flexible-array-member.c
flexible-array-member.exp
lib-types.cc
lib-types.exp
libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py
py-arch-reg-groups.exp
py-arch-reg-names.exp
py-arch.c
py-arch.exp Accept gdb.Value in more Python APIs 2022-07-08 14:14:58 -06:00
py-as-string.c
py-as-string.exp
py-auto-load-chaining-f1.c
py-auto-load-chaining-f1.o-gdb.py
py-auto-load-chaining-f2.c
py-auto-load-chaining-f2.o-gdb.py
py-auto-load-chaining.c
py-auto-load-chaining.exp
py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc
py-autoloaded-pretty-printers-in-newobjfile-event-lib.h
py-autoloaded-pretty-printers-in-newobjfile-event-main.cc
py-autoloaded-pretty-printers-in-newobjfile-event.exp
py-autoloaded-pretty-printers-in-newobjfile-event.py
py-bad-printers.c
py-bad-printers.exp
py-bad-printers.py
py-block.c
py-block.exp
py-breakpoint-create-fail.c
py-breakpoint-create-fail.exp
py-breakpoint-create-fail.py
py-breakpoint.c
py-breakpoint.exp
py-caller-is.c
py-caller-is.exp
py-charset.exp
py-cmd.c
py-cmd.exp
py-completion.exp
py-completion.py
py-connection.c
py-connection.exp Fix gdb.python/py-connection.exp with remote targets 2022-05-17 13:03:07 +01:00
py-disasm.c gdb/python: implement the print_insn extension language hook 2022-06-15 09:44:54 +01:00
py-disasm.exp gdb/python: implement the print_insn extension language hook 2022-06-15 09:44:54 +01:00
py-disasm.py gdb/python: implement the print_insn extension language hook 2022-06-15 09:44:54 +01:00
py-doc-reformat.exp gdb/testsuite: add missing skip_python_tests call in py-doc-reformat.exp 2022-06-06 12:34:24 +01:00
py-error.exp
py-error.py
py-event-load.c Add gdb.free_objfile event registry 2022-07-18 11:25:34 -06:00
py-event-load.exp Add gdb.free_objfile event registry 2022-07-18 11:25:34 -06:00
py-event-load.py Add gdb.free_objfile event registry 2022-07-18 11:25:34 -06:00
py-events-shlib.c
py-events.c
py-events.exp Make 'import gdb.events' work 2022-07-05 10:28:39 -06:00
py-events.py
py-evsignal.exp
py-evthreads.c
py-evthreads.exp
py-explore-cc.exp
py-explore.c
py-explore.cc
py-explore.exp
py-finish-breakpoint2.cc
py-finish-breakpoint2.exp
py-finish-breakpoint2.py
py-finish-breakpoint.c
py-finish-breakpoint.exp gdb/testsuite: remove unneeded calls to get_compiler_info 2022-06-24 15:07:29 +01:00
py-finish-breakpoint.py
py-format-address.c gdb/python: add gdb.format_address function 2022-03-22 10:05:05 +00:00
py-format-address.exp gdb/testsuite: fix copy & paste error in gdb.python/py-format-address.exp 2022-03-29 13:55:48 +01:00
py-format-string.c
py-format-string.exp Add 'nibbles' to gdb.print_options 2022-07-15 09:42:39 -06:00
py-format-string.py Add 'summary' mode to Value.format_string 2022-07-15 09:26:54 -06:00
py-frame-args.c
py-frame-args.exp
py-frame-args.py
py-frame-inline.c
py-frame-inline.exp
py-frame.c
py-frame.exp Add gdb.current_language and gdb.Frame.language 2022-06-01 06:15:53 -06:00
py-framefilter-addr.c
py-framefilter-addr.exp
py-framefilter-addr.py
py-framefilter-gdb.py
py-framefilter-invalidarg-gdb.py
py-framefilter-invalidarg.exp
py-framefilter-invalidarg.py
py-framefilter-mi.c
py-framefilter-mi.exp gdb/testsuite: fix "continue outside of loop" TCL errors 2022-05-16 10:07:43 -03:00
py-framefilter.c
py-framefilter.exp
py-framefilter.py
py-function.exp
py-inferior-leak.c
py-inferior-leak.exp gdb/testsuite: fix "continue outside of loop" TCL errors 2022-05-16 10:07:43 -03:00
py-inferior-leak.py
py-inferior.c
py-inferior.exp gdb/python: remove Python 2 support 2022-03-23 07:41:19 -04:00
py-infthread.c
py-infthread.exp gdb/python: Add gdb.InferiorThread.details attribute 2022-02-28 17:01:31 +00:00
py-lazy-string.c
py-lazy-string.exp
py-linetable.c
py-linetable.exp
py-linetable.S
py-lookup-type.exp Add a way to temporarily set a gdb parameter from Python 2022-01-26 06:49:51 -07:00
py-mi-cmd.exp [gdb/testsuite] Handle unordered dict in gdb.python/py-mi-cmd.exp 2022-06-14 19:50:44 +02:00
py-mi-cmd.py gdb/python/mi: create MI commands using python 2022-03-14 14:09:09 +00:00
py-mi-events-gdb.py
py-mi-events.c
py-mi-events.exp gdb/testsuite: fix "continue outside of loop" TCL errors 2022-05-16 10:07:43 -03:00
py-mi-objfile-gdb.py
py-mi-objfile.c
py-mi-objfile.exp gdb/testsuite: fix "continue outside of loop" TCL errors 2022-05-16 10:07:43 -03:00
py-mi-var-info-path-expression.c
py-mi-var-info-path-expression.exp
py-mi-var-info-path-expression.py gdb/python: remove Python 2 support 2022-03-23 07:41:19 -04:00
py-mi.exp gdb/testsuite: fix "continue outside of loop" TCL errors 2022-05-16 10:07:43 -03:00
py-nested-maps.c
py-nested-maps.exp
py-nested-maps.py
py-objfile-script-gdb.py
py-objfile-script.c
py-objfile-script.exp
py-objfile.c
py-objfile.exp
py-parameter.exp Handle bool specially in gdb.set_parameter 2022-07-08 13:56:56 -06:00
py-pending-frame-level.c
py-pending-frame-level.exp
py-pending-frame-level.py
py-pp-integral.c
py-pp-integral.exp
py-pp-integral.py
py-pp-maint.c
py-pp-maint.exp
py-pp-maint.py
py-pp-re-notag.c
py-pp-re-notag.exp
py-pp-re-notag.py
py-pp-registration.c
py-pp-registration.exp
py-pp-registration.py
py-prettyprint.c
py-prettyprint.exp
py-prettyprint.py
py-progspace.c
py-progspace.exp Accept gdb.Value in more Python APIs 2022-07-08 14:14:58 -06:00
py-prompt.c
py-prompt.exp
py-rbreak-func2.c
py-rbreak.c
py-rbreak.exp
py-record-btrace-threads.c
py-record-btrace-threads.exp
py-record-btrace.c
py-record-btrace.exp gdb/python: remove Python 2 support 2022-03-23 07:41:19 -04:00
py-record-full.c
py-record-full.exp
py-recurse-unwind.c
py-recurse-unwind.exp
py-recurse-unwind.py
py-rvalue-ref-value-cc.cc
py-rvalue-ref-value-cc.exp
py-section-script.c
py-section-script.exp
py-section-script.py
py-send-packet.c
py-send-packet.exp
py-send-packet.py Run 'black' on gdb 2022-07-15 07:55:32 -06:00
py-shared-sl.c
py-shared.c
py-shared.exp Accept gdb.Value in more Python APIs 2022-07-08 14:14:58 -06:00
py-source-styling.c gdb/python: handle non utf-8 characters when source highlighting 2022-01-26 23:12:52 +00:00
py-source-styling.exp gdb/python: handle non utf-8 characters when source highlighting 2022-01-26 23:12:52 +00:00
py-startup-opt.exp
py-strfns.c
py-strfns.exp
py-symbol-2.c
py-symbol.c
py-symbol.exp
py-symtab.exp
py-sync-interp.c
py-sync-interp.exp
py-template.cc
py-template.exp
py-thrhandle.c
py-thrhandle.exp
py-type.c gdb/python: add Type.is_scalar property 2022-03-07 19:42:07 +00:00
py-type.exp gdb/testsuite: remove unneeded calls to get_compiler_info 2022-06-24 15:07:29 +01:00
py-typeprint.cc
py-typeprint.exp
py-typeprint.py
py-unwind-inline.c
py-unwind-inline.exp
py-unwind-inline.py
py-unwind-maint.c
py-unwind-maint.exp
py-unwind-maint.py
py-unwind-user-regs.c
py-unwind-user-regs.exp
py-unwind-user-regs.py
py-unwind.c
py-unwind.exp
py-unwind.py
py-value-cc.cc
py-value-cc.exp
py-value.c
py-value.exp gdb: don't copy entirely optimized out values in value_copy 2022-04-06 16:11:13 -04:00
py-xmethods.cc
py-xmethods.exp Fix bogus gdb_test invocations 2022-05-17 10:31:36 +01:00
py-xmethods.py
python-1.c
python.c
python.exp Accept gdb.Value in more Python APIs 2022-07-08 14:14:58 -06:00
source1
source2.py
tui-window-disabled.c
tui-window-disabled.exp
tui-window-disabled.py
tui-window.exp
tui-window.py