Don't use PyLong_FromUnsignedLong
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)
commit512116ce26a66338e1be1847cc8b014f4d4bbc13
tree4d657df7829c22a8c21718049d882a8577e2f62b
parent4ab1029c56b3745c22585c5d775c6a87fd510eab
Don't use PyLong_FromUnsignedLong

This changes gdb to avoid PyLong_FromUnsignedLong, preferring
gdb_py_object_from_ulongest instead.

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

* python/python.c (gdbpy_parameter_value): Use
gdb_py_object_from_ulongest.
gdb/ChangeLog
gdb/python/python.c