binutils-gdb/gdb/python
Tom Tromey 9dccd06e8a Remove target_has_registers macro
This removes the target_has_registers object-like macro, replacing it
with the underlying function.

gdb/ChangeLog
2020-09-28  Tom Tromey  <tom@tromey.com>

	* tui/tui-regs.c (tui_get_register)
	(tui_data_window::show_registers): Update.
	* thread.c (scoped_restore_current_thread::restore)
	(scoped_restore_current_thread::scoped_restore_current_thread):
	Update.
	* regcache-dump.c (regcache_print): Update.
	* python/py-finishbreakpoint.c (bpfinishpy_detect_out_scope_cb):
	Update.
	* mi/mi-main.c (mi_cmd_data_write_register_values): Update.
	* mep-tdep.c (current_me_module, current_options): Update.
	* linux-thread-db.c (thread_db_load): Update.
	* infcmd.c (registers_info, info_vector_command)
	(info_float_command): Update.
	* ia64-tdep.c (ia64_frame_prev_register)
	(ia64_sigtramp_frame_prev_register): Update.
	* ia64-libunwind-tdep.c (libunwind_frame_prev_register): Update.
	* gcore.c (derive_stack_segment): Update.
	* frame.c (get_current_frame, has_stack_frames): Update.
	* findvar.c (language_defn::read_var_value): Update.
	* arm-tdep.c (arm_pc_is_thumb): Update.
	* target.c (target_has_registers): Rename from
	target_has_registers_1.
	* target.h (target_has_registers): Remove macro.
	(target_has_registers): Rename from target_has_registers_1.
2020-09-28 19:52:21 -06:00
..
lib/gdb [gdb/cli] Don't let python colorize strip leading newlines 2020-04-10 09:29:52 +02:00
py-all-events.def
py-arch.c Don't use gdb_py_long_from_ulongest 2020-09-15 11:08:56 -06:00
py-auto-load.c default-args: allow to define default arguments for aliases 2020-06-22 21:14:13 +02:00
py-block.c
py-bpevent.c
py-breakpoint.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-cmd.c default-args: allow to define default arguments for aliases 2020-06-22 21:14:13 +02:00
py-continueevent.c
py-event-types.def
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c Don't use PyLong_FromLongLong 2020-09-15 11:08:57 -06:00
py-finishbreakpoint.c Remove target_has_registers macro 2020-09-28 19:52:21 -06:00
py-frame.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-framefilter.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-function.c
py-gdb-readline.c
py-inferior.c Don't use PyLong_FromLong 2020-09-15 11:08:56 -06:00
py-infevents.c Don't use PyLong_FromLongLong 2020-09-15 11:08:57 -06:00
py-infthread.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-instruction.c
py-instruction.h
py-lazy-string.c Don't use PyLong_FromLong 2020-09-15 11:08:56 -06:00
py-linetable.c Convert CORE_ADDR to Python using gdb_py_object_from_ulongest 2020-08-17 08:50:35 -06:00
py-newobjfileevent.c
py-objfile.c Change get_objfile_arch to a method on objfile 2020-04-18 08:35:04 -06:00
py-param.c default-args: allow to define default arguments for aliases 2020-06-22 21:14:13 +02:00
py-prettyprint.c
py-progspace.c
py-record-btrace.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-record.h
py-ref.h
py-registers.c gdb/python: make more use of RegisterDescriptors 2020-07-28 10:27:54 +01:00
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-symtab.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-threadevent.c
py-tui.c Use an inner window in tui_py_window 2020-09-27 20:30:31 -06:00
py-type.c Use htab_up in type copying 2020-09-17 11:58:56 -06:00
py-unwind.c gdb/python: make more use of RegisterDescriptors 2020-07-28 10:27:54 +01:00
py-utils.c
py-value.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-varobj.c
py-xmethods.c gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04:00
python-config.py
python-internal.h Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
python.c Don't use PyLong_FromUnsignedLong 2020-09-15 11:08:57 -06:00
python.h