aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-03-01 15:13:21 -0700
committerTom Tromey <tromey@adacore.com>2023-03-27 08:20:29 -0600
commit303a881f8789733248f27af0c872d356a34be009 (patch)
tree9ffda24d7cd521e72e568bae8d8df20e5c94bc7a /gdb/utils.h
parentd784fa8fb2936fb9bd2ebb8e1854b855ca206d96 (diff)
downloadgdb-303a881f8789733248f27af0c872d356a34be009.zip
gdb-303a881f8789733248f27af0c872d356a34be009.tar.gz
gdb-303a881f8789733248f27af0c872d356a34be009.tar.bz2
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
Diffstat (limited to 'gdb/utils.h')
-rw-r--r--gdb/utils.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/utils.h b/gdb/utils.h
index 6e240dec..a383036 100644
--- a/gdb/utils.h
+++ b/gdb/utils.h
@@ -303,13 +303,6 @@ extern pid_t wait_to_die_with_timeout (pid_t pid, int *status, int timeout);
extern int myread (int, char *, int);
-/* Integer exponentiation: Return V1**V2, where both arguments
- are integers.
-
- Requires V1 != 0 if V2 < 0.
- Returns 1 for 0 ** 0. */
-extern ULONGEST uinteger_pow (ULONGEST v1, LONGEST v2);
-
/* Resource limits used by getrlimit and setrlimit. */
enum resource_limit_kind