Add methods and operators to gdb_mpz
authorTom Tromey <tromey@adacore.com>
Thu, 23 Feb 2023 14:30:26 +0000 (07:30 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 14 Mar 2023 14:16:39 +0000 (08:16 -0600)
commit302273ca843fc3ddbe8210e6d30459316bf04f0e
tree93807817bec50bb5d5700fdfb3f6603b0907ce0e
parentc8a67010d133374dfb3b4ed88da7953702a2091d
Add methods and operators to gdb_mpz

This adds various methods and operators to gdb_mpz, as a step toward
hiding the implementation.

This only adds the operators that were needed.  Many more could be
added as required.
gdb/ada-lex.l
gdb/dwarf2/read.c
gdb/gmp-utils.h
gdb/unittests/gmp-utils-selftests.c
gdb/valops.c
gdb/value.c