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 | 37431074656958dfb788a1980f5a1cd474705b83 (patch) | |
tree | 806a53e6f14f7c5df7a10b24652e1ad1b4a14068 /gdb/python/py-record-btrace.c | |
parent | 08cc37dd042338209c8e2aa5db04aef2ecb5c62b (diff) | |
download | gdb-37431074656958dfb788a1980f5a1cd474705b83.zip gdb-37431074656958dfb788a1980f5a1cd474705b83.tar.gz gdb-37431074656958dfb788a1980f5a1cd474705b83.tar.bz2 |
Don't use PyInt_FromSsize_t
Change the Python layer to avoid PyInt_FromSsize_t, and remove the
compatibility define.
gdb/ChangeLog
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.
(recpy_gap_number): Likewise.
Diffstat (limited to 'gdb/python/py-record-btrace.c')
0 files changed, 0 insertions, 0 deletions