diff options
| author | Tom Tromey <tromey@adacore.com> | 2025-12-11 12:31:40 -0700 |
|---|---|---|
| committer | Tom Tromey <tromey@adacore.com> | 2026-01-05 12:12:58 -0700 |
| commit | 6193dd2f7cc21d39dce5076acbbb4b0869e70fcd (patch) | |
| tree | bbbb8d2bd73f3936d3b3db99e448d0c052d2a13d /gdb/python/python-internal.h | |
| parent | 1d05a2adc28602f5af4c4d70934b14c67f0109fe (diff) | |
| download | binutils-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
