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
py-all-events.def
py-arch.c
py-auto-load.c
py-block.c
py-bpevent.c
py-breakpoint.c
py-cmd.c
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
py-frame.c gdb/python: make more use of RegisterDescriptors 2020-07-28 10:27:54 +01:00
py-framefilter.c
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
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
py-param.c
py-prettyprint.c
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
py-type.c
py-unwind.c gdb/python: make more use of RegisterDescriptors 2020-07-28 10:27:54 +01:00
py-utils.c
py-value.c
py-varobj.c
py-xmethods.c
python-config.py
python-internal.h gdb/python: make more use of RegisterDescriptors 2020-07-28 10:27:54 +01:00
python.c
python.h