[PATCH] Remove unused function in sparc64-tdep.c
Mark Kettenis
kettenis@chello.nl
Fri Apr 9 12:31:00 GMT 2004
This removes an unused function.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* sparc64-tdep.c (sparc_address_from_register): Remove function.
Index: sparc64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc64-tdep.c,v
retrieving revision 1.10
diff -u -p -r1.10 sparc64-tdep.c
--- sparc64-tdep.c 17 Jan 2004 22:45:44 -0000 1.10
+++ sparc64-tdep.c 9 Apr 2004 12:23:47 -0000
@@ -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
More information about the Gdb-patches
mailing list