aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-05-31 03:42:58 +0000
committerAndrew Cagney <cagney@redhat.com>2003-05-31 03:42:58 +0000
commitc8f55a7b394521febc8076cb1e95a37723e13e25 (patch)
tree317704065ac3890cd8e1cd583df1210ba452f0a1
parentc25083afe3c3b1cc34524f152d676d71c0abea89 (diff)
downloadgdb-c8f55a7b394521febc8076cb1e95a37723e13e25.zip
gdb-c8f55a7b394521febc8076cb1e95a37723e13e25.tar.gz
gdb-c8f55a7b394521febc8076cb1e95a37723e13e25.tar.bz2
2003-05-30 Andrew Cagney <cagney@redhat.com>
* config/sparc/tm-sparc.h (sparc_extract_struct_value_address): Change parameter type to a "struct regcache *".
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/config/sparc/tm-sparc.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 97646e1..c42772f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2003-05-30 Andrew Cagney <cagney@redhat.com>
+ * config/sparc/tm-sparc.h (sparc_extract_struct_value_address):
+ Change parameter type to a "struct regcache *".
+
* gdbarch.sh: Regardless of the multi-arch level, always define
the macro when not already defined.
* gdbarch.h, gdbarch.c: Re-generate.
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index e51eb63..16f94db 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -277,7 +277,7 @@ extern void sparc32_store_return_value (struct type *, struct regcache *,
#define EXTRACT_STRUCT_VALUE_ADDRESS(REGCACHE) \
sparc_extract_struct_value_address (REGCACHE)
-extern CORE_ADDR sparc_extract_struct_value_address (char *);
+extern CORE_ADDR sparc_extract_struct_value_address (struct regcache *);
/* Stack must be aligned on 64-bit boundaries when synthesizing
function calls (128-bit for sparc64). */