binutils-gdb/gdb/python
Tom Tromey 062534d44f Don't use PyLong_FromLong
This changes gdb to avoid PyLong_FromLong, preferring to
gdb_py_object_from_longest instead.

gdb/ChangeLog
2020-09-15  Tom Tromey  <tromey@adacore.com>

	* python/python.c (gdbpy_parameter_value): Use
	gdb_py_object_from_longest.
	* python/py-type.c (convert_field, typy_range): Use
	gdb_py_object_from_longest.
	* python/py-tui.c (gdbpy_tui_width, gdbpy_tui_height): Use
	gdb_py_object_from_longest.
	* python/py-lazy-string.c (stpy_get_length): Use
	gdb_py_object_from_longest.
	* python/py-infthread.c (thpy_get_num, thpy_get_global_num): Use
	gdb_py_object_from_longest.
	* python/py-infevents.c (create_memory_changed_event_object): Use
	gdb_py_object_from_longest.
	* python/py-inferior.c (infpy_get_num): Use
	gdb_py_object_from_longest.
	(infpy_get_pid): Likewise.
2020-09-15 11:08:56 -06:00
..
lib/gdb
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
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 Don't use gdb_py_long_from_ulongest 2020-09-15 11:08:56 -06: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 Don't use PyLong_FromLong 2020-09-15 11:08:56 -06:00
py-infevents.c Don't use PyLong_FromLong 2020-09-15 11:08:56 -06:00
py-infthread.c Don't use PyLong_FromLong 2020-09-15 11:08:56 -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
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 gdb_py_long_from_ulongest 2020-09-15 11:08:56 -06:00
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c Don't use PyInt_FromSsize_t 2020-09-15 11:08:56 -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
py-symtab.c Don't use gdb_py_long_from_ulongest 2020-09-15 11:08:56 -06:00
py-threadevent.c
py-tui.c Don't use PyLong_FromLong 2020-09-15 11:08:56 -06:00
py-type.c Don't use PyLong_FromLong 2020-09-15 11:08: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 gdb_py_long_from_ulongest 2020-09-15 11:08:56 -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 gdb_py_long_from_ulongest 2020-09-15 11:08:56 -06:00
python.c Don't use PyLong_FromLong 2020-09-15 11:08:56 -06:00
python.h