From b31bc72481caa94afd56f9fbbf7cdb064842b479 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Fri, 9 Apr 2004 12:30:02 +0000 Subject: [PATCH] * sparc64-tdep.c (sparc_address_from_register): Remove function. --- gdb/ChangeLog | 4 ++++ gdb/sparc64-tdep.c | 11 ----------- 2 files changed, 4 insertions(+), 11 deletions(-) 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 -- 2.30.2