aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.go/hello.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-03-27 14:35:17 -0600
committerTom Tromey <tromey@adacore.com>2023-04-17 10:43:06 -0600
commit767c4b92bc4333cb1b49a42b8d012170a40900fe (patch)
tree767c74a10a155e97e09806c2208d43510598c691 /gdb/testsuite/gdb.go/hello.exp
parentc53c6186c8d69586a71a7f8284a9ed7fa8cb207f (diff)
downloadgdb-767c4b92bc4333cb1b49a42b8d012170a40900fe.zip
gdb-767c4b92bc4333cb1b49a42b8d012170a40900fe.tar.gz
gdb-767c4b92bc4333cb1b49a42b8d012170a40900fe.tar.bz2
Additions to gdb_mpz
In preparation for adding more 128-bit support to gdb, a few additions to gdb_mpz are needed. First, this adds a new 'as_integer_truncate' method. This method works like 'as_integer' but does not require the value to fit in the target type -- it just truncates. Second, gdb_mpz::export_bits is changed to handle the somewhat unusual situation of zero-length types. This can happen for a Rust '()' type; but I think other languages have zero-bit integer types as well. Finally, this adds some operator== overloads.
Diffstat (limited to 'gdb/testsuite/gdb.go/hello.exp')
0 files changed, 0 insertions, 0 deletions