diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-04-09 12:30:02 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-04-09 12:30:02 +0000 |
commit | b31bc72481caa94afd56f9fbbf7cdb064842b479 (patch) | |
tree | a778020f4351f76e482c3423ff29ca5f46bd9634 /gdb | |
parent | 54752a6b0d7a1a159d80aec5f5b8f7a59eca56e3 (diff) | |
download | gdb-b31bc72481caa94afd56f9fbbf7cdb064842b479.zip gdb-b31bc72481caa94afd56f9fbbf7cdb064842b479.tar.gz gdb-b31bc72481caa94afd56f9fbbf7cdb064842b479.tar.bz2 |
* sparc64-tdep.c (sparc_address_from_register): Remove function.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/sparc64-tdep.c | 11 |
2 files changed, 4 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3eeb4da..a1df0b6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-04-09 Mark Kettenis <kettenis@gnu.org> + + * sparc64-tdep.c (sparc_address_from_register): Remove function. + 2004-04-08 Andrew Cagney <cagney@redhat.com> * breakpoint.h (deprecated_exception_catchpoints_are_fragile) diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index 8aad619..4376508 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 |