From: Mark Kettenis Date: Fri, 9 Apr 2004 12:30:02 +0000 (+0000) Subject: * sparc64-tdep.c (sparc_address_from_register): Remove function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b31bc72481caa94afd56f9fbbf7cdb064842b479;p=binutils-gdb.git * sparc64-tdep.c (sparc_address_from_register): Remove function. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3eeb4da137a..a1df0b63056 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-04-09 Mark Kettenis + + * sparc64-tdep.c (sparc_address_from_register): Remove function. + 2004-04-08 Andrew Cagney * breakpoint.h (deprecated_exception_catchpoints_are_fragile) diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index 8aad619eeae..437650876b8 100644 --- a/gdb/sparc64-tdep.c +++ b/gdb/sparc64-tdep.c @@ -52,17 +52,6 @@ /* The functions on this page are intended to be used to classify function arguments. */ -/* Return the contents if register REGNUM as an address. */ - -static CORE_ADDR -sparc_address_from_register (int regnum) -{ - ULONGEST addr; - - regcache_cooked_read_unsigned (current_regcache, regnum, &addr); - return addr; -} - /* Check whether TYPE is "Integral or Pointer". */ static int