aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/dyn-bit-offset
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-09-05 05:31:34 -0600
committerTom Tromey <tom@tromey.com>2025-09-05 11:28:42 -0600
commit27697103012d289fe279e46a5222308959fe4290 (patch)
tree95131c956f50d42c7ab14cdda88a2cd3d9cde817 /gdb/testsuite/gdb.ada/dyn-bit-offset
parentaaad5a3254db53434eaf1cf70384e7ee0dfb886a (diff)
downloadbinutils-27697103012d289fe279e46a5222308959fe4290.zip
binutils-27697103012d289fe279e46a5222308959fe4290.tar.gz
binutils-27697103012d289fe279e46a5222308959fe4290.tar.bz2
Allow conversion of 128-bit integers to Python
Currently, trying to convert a 128-bit integer from a gdb.Value to a Python integer will fail. This is surprising because Python uses bigints internally. The bug here is that valpy_long uses value_as_long, which fails for anything wider than LONGEST. This patch fixes the problem by using the recommended Python API. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33366 Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/testsuite/gdb.ada/dyn-bit-offset')
0 files changed, 0 insertions, 0 deletions