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.
Showing
- gdb/ada-lex.l 4 additions, 5 deletionsgdb/ada-lex.l
- gdb/dwarf2/read.c 20 additions, 26 deletionsgdb/dwarf2/read.c
- gdb/gmp-utils.h 87 additions, 0 deletionsgdb/gmp-utils.h
- gdb/unittests/gmp-utils-selftests.c 27 additions, 27 deletionsgdb/unittests/gmp-utils-selftests.c
- gdb/valops.c 1 addition, 1 deletiongdb/valops.c
- gdb/value.c 1 addition, 2 deletionsgdb/value.c
Loading
Please register or sign in to comment