aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2025-12-11 12:31:40 -0700
committerTom Tromey <tromey@adacore.com>2026-01-05 12:12:58 -0700
commit6193dd2f7cc21d39dce5076acbbb4b0869e70fcd (patch)
treebbbb8d2bd73f3936d3b3db99e448d0c052d2a13d /gdb/python/python-internal.h
parent1d05a2adc28602f5af4c4d70934b14c67f0109fe (diff)
downloadbinutils-6193dd2f7cc21d39dce5076acbbb4b0869e70fcd.zip
binutils-6193dd2f7cc21d39dce5076acbbb4b0869e70fcd.tar.gz
binutils-6193dd2f7cc21d39dce5076acbbb4b0869e70fcd.tar.bz2
Fix Ada 'Modulus attribute
The internal AdaCore test suite pointed out that my earlier patch to displaying modular types broke the 'Modulus attribute -- it was off-by-one. While fixing this, though, I realized that the earlier 'ptype' problem also affected this attribute. So, this patch implements a similar fix in the parser. This adds some operator+ overloads to gdb_mpz for convenience. That class still doesn't have the full complement of operators -- they are added as needed.
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions