diff options
author | Tom Tromey <tromey@adacore.com> | 2020-09-15 11:08:56 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-09-15 11:08:56 -0600 |
commit | 4bde49dc81c5c16189af70b9a144dbb5651994f1 (patch) | |
tree | 538a8007afa184fc28f2f9a5781265afc1402156 /gdb/ChangeLog | |
parent | 37431074656958dfb788a1980f5a1cd474705b83 (diff) | |
download | gdb-4bde49dc81c5c16189af70b9a144dbb5651994f1.zip gdb-4bde49dc81c5c16189af70b9a144dbb5651994f1.tar.gz gdb-4bde49dc81c5c16189af70b9a144dbb5651994f1.tar.bz2 |
Don't use gdb_py_long_from_longest
Change the Python layer to avoid gdb_py_long_from_longest, and remove
the defines.
gdb/ChangeLog
2020-09-15 Tom Tromey <tromey@adacore.com>
* python/python-internal.h (gdb_py_long_from_longest): Remove
defines.
* python/py-value.c (valpy_long): Use gdb_py_object_from_longest.
* python/py-type.c (convert_field, typy_get_sizeof): Use
gdb_py_object_from_longest.
* python/py-record-btrace.c (btpy_list_index): Use
gdb_py_object_from_longest.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8a7ad2a..6df6633 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 2020-09-15 Tom Tromey <tromey@adacore.com> + * python/python-internal.h (gdb_py_long_from_longest): Remove + defines. + * python/py-value.c (valpy_long): Use gdb_py_object_from_longest. + * python/py-type.c (convert_field, typy_get_sizeof): Use + gdb_py_object_from_longest. + * python/py-record-btrace.c (btpy_list_index): Use + gdb_py_object_from_longest. + +2020-09-15 Tom Tromey <tromey@adacore.com> + * python/python-internal.h (PyInt_FromSsize_t): Remove define. * python/py-record.c (recpy_element_number): Use gdb_py_object_from_longest. |