binutils-gdb/gdb/python
Tom Tromey cb275538db Use registry in gdbarch
gdbarch implements its own registry-like approach.  This patch changes
it to instead use registry.h.  It's a rather large patch but largely
uninteresting -- it's mostly a straightforward conversion from the old
approach to the new one.

The main benefit of this change is that it introduces type safety to
the gdbarch registry.  It also removes a bunch of code.

One possible drawback is that, previously, the gdbarch registry
differentiated between pre- and post-initialization setup.  This
doesn't seem very important to me, though.
2022-08-04 13:28:04 -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 Use registry in gdbarch 2022-08-04 13:28:04 -06:00
py-auto-load.c Unify gdb printf functions 2022-03-29 12:46:24 -06:00
py-block.c Rewrite registry.h 2022-07-28 14:16:50 -06:00
py-bpevent.c
py-breakpoint.c gdb/python: Add BreakpointLocation type 2022-07-28 11:20:46 -06:00
py-cmd.c Use PyBool_FromLong 2022-06-23 09:27:30 -06:00
py-connection.c gdb/python: remove Python 2/3 compatibility macros 2022-03-23 07:42:57 -04:00
py-continueevent.c
py-disasm.c gdb/python: fix invalid use disassemble_info::stream 2022-07-25 19:26:24 +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 Unify gdb printf functions 2022-03-29 12:46:24 -06:00
py-function.c
py-gdb-readline.c
py-inferior.c Rewrite registry.h 2022-07-28 14:16:50 -06:00
py-infevents.c
py-infthread.c gdb/python: remove Python 2/3 compatibility macros 2022-03-23 07:42:57 -04:00
py-instruction.c
py-instruction.h
py-lazy-string.c gdb/python: remove Python 2/3 compatibility macros 2022-03-23 07:42:57 -04:00
py-linetable.c
py-membuf.c gdb/python: remove Python 2/3 compatibility macros 2022-03-23 07:42:57 -04:00
py-micmd.c Unify gdb printf functions 2022-03-29 12:46:24 -06:00
py-newobjfileevent.c Add gdb.free_objfile event registry 2022-07-18 11:25:34 -06:00
py-objfile.c Use gdb_bfd_ref_ptr in objfile 2022-08-03 13:26:58 -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 Rewrite registry.h 2022-07-28 14:16:50 -06:00
py-record-btrace.c gdb/python: remove Python 2/3 compatibility macros 2022-03-23 07:42:57 -04:00
py-record-btrace.h
py-record-full.c gdb/python: remove Python 2/3 compatibility macros 2022-03-23 07:42:57 -04:00
py-record-full.h
py-record.c gdb/python: remove Python 2/3 compatibility macros 2022-03-23 07:42:57 -04:00
py-record.h
py-ref.h
py-registers.c Use registry in gdbarch 2022-08-04 13:28:04 -06:00
py-signalevent.c gdb/python: remove Python 2/3 compatibility macros 2022-03-23 07:42:57 -04:00
py-stopevent.c
py-stopevent.h
py-symbol.c Rewrite registry.h 2022-07-28 14:16:50 -06:00
py-symtab.c Rewrite registry.h 2022-07-28 14:16:50 -06:00
py-threadevent.c
py-tui.c
py-type.c Rewrite registry.h 2022-07-28 14:16:50 -06:00
py-unwind.c Use registry in gdbarch 2022-08-04 13:28:04 -06:00
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 gdb/python: remove Python 2/3 compatibility macros 2022-03-23 07:42:57 -04:00
python-config.py
python-internal.h gdb/python: Add BreakpointLocation type 2022-07-28 11:20:46 -06:00
python.c gdb/python: Add BreakpointLocation type 2022-07-28 11:20:46 -06:00
python.h