Use gdb_gmp for scalar arithmetic
authorTom Tromey <tromey@adacore.com>
Wed, 1 Mar 2023 22:13:21 +0000 (15:13 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 27 Mar 2023 14:20:29 +0000 (08:20 -0600)
commit303a881f8789733248f27af0c872d356a34be009
tree9ffda24d7cd521e72e568bae8d8df20e5c94bc7a
parentd784fa8fb2936fb9bd2ebb8e1854b855ca206d96
Use gdb_gmp for scalar arithmetic

This changes gdb to use scalar arithmetic for expression evaluation.

I suspect this patch is not truly complete, as there may be code paths
that still don't correctly handle 128-bit integers.  However, many
things do work now.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30190
gdb/NEWS
gdb/testsuite/gdb.rust/onetwoeight.exp [new file with mode: 0644]
gdb/testsuite/gdb.rust/onetwoeight.rs [new file with mode: 0644]
gdb/utils.c
gdb/utils.h
gdb/valarith.c
gdb/valops.c