From 303a881f8789733248f27af0c872d356a34be009 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 1 Mar 2023 15:13:21 -0700 Subject: 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/utils.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gdb/utils.h') 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 -- cgit v1.1