binutils-gdb/gdb/python
Tom Tromey b017825fab Convert CORE_ADDR to Python using gdb_py_object_from_ulongest
An internal test failed on a riscv64-elf cross build because
Inferior.search_memory returned a negative value.  I tracked this down
to to use of PyLong_FromLong in infpy_search_memory.  Then, I looked
at other conversions of CORE_ADDR to Python and fixed these as well.

I don't think there is a good way to write a test for this.

gdb/ChangeLog
2020-08-17  Tom Tromey  <tromey@adacore.com>

	* python/py-inferior.c (infpy_search_memory): Use
	gdb_py_object_from_ulongest.
	* python/py-infevents.c (create_inferior_call_event_object)
	(create_memory_changed_event_object): Use
	gdb_py_object_from_ulongest.
	* python/py-linetable.c (ltpy_entry_get_pc): Use
	gdb_py_object_from_ulongest.
2020-08-17 08:50:35 -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 gdb/python: New method to access list of register groups 2020-07-06 15:06:06 +01: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
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
py-finishbreakpoint.c gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04:00
py-frame.c gdb/python: make more use of RegisterDescriptors 2020-07-28 10:27:54 +01:00
py-framefilter.c gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04:00
py-function.c
py-gdb-readline.c
py-inferior.c Convert CORE_ADDR to Python using gdb_py_object_from_ulongest 2020-08-17 08:50:35 -06:00
py-infevents.c Convert CORE_ADDR to Python using gdb_py_object_from_ulongest 2020-08-17 08:50:35 -06:00
py-infthread.c
py-instruction.c
py-instruction.h
py-lazy-string.c gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04: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 Change extension language pretty-printers to use value API 2020-03-13 18:03:42 -06:00
py-progspace.c
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/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
py-symtab.c
py-threadevent.c
py-tui.c Fix crash when TUI window creation fails 2020-06-16 17:48:38 -06:00
py-type.c gdb: make type::bounds work for array and string types 2020-07-12 23:06:12 -04: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 gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04: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 gdb/python: make more use of RegisterDescriptors 2020-07-28 10:27:54 +01:00
python.c gdb/python: Add gdb.Architecture.registers method 2020-07-06 15:06:06 +01:00
python.h