Don't use PyLong_FromLongLong
authorTom Tromey <tromey@adacore.com>
Tue, 15 Sep 2020 17:08:56 +0000 (11:08 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 15 Sep 2020 17:08:57 +0000 (11:08 -0600)
commit4ab1029c56b3745c22585c5d775c6a87fd510eab
treeedc861da9a68d65c5ef2e42e7c3c21540cc027dd
parent062534d44f3eeb81903cc01ef0230cee5b3e4eb2
Don't use PyLong_FromLongLong

This changes gdb to avoid PyLong_FromLongLong, preferring to use
gdb_py_object_from_longest instead.

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

* python/py-infevents.c (create_register_changed_event_object):
Use gdb_py_object_from_longest.
* python/py-exitedevent.c (create_exited_event_object): Use
gdb_py_object_from_longest.
gdb/ChangeLog
gdb/python/py-exitedevent.c
gdb/python/py-infevents.c