aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-10-13 00:06:54 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-10-13 00:06:54 +0000
commitc187492465e6fd60ebf2f4710944fa7b6a679a02 (patch)
treeeec7dd560967a03c06b750d01305d552254d35f6 /gdb/gdbarch.h
parent4c8b6ae009ad0e664cb1ec681e58c4a942fa4915 (diff)
downloadgdb-c187492465e6fd60ebf2f4710944fa7b6a679a02.zip
gdb-c187492465e6fd60ebf2f4710944fa7b6a679a02.tar.gz
gdb-c187492465e6fd60ebf2f4710944fa7b6a679a02.tar.bz2
* gdbarch.sh (deprecated_use_struct_convention): Remove.
(extract_return_value, store_return_value): Remove. (return_value): Remove default implementation. * gdbarch.c, gdbarch.h: Regenerate. * stack.c (return_command): Remove compatibility hack. * arch-utils.c (legacy_return_value): Remove. * arch-utils.h (legacy_return_value): Likewise. * arch-utils.c (always_use_struct_convention): Remove. * arch-utils.h (always_use_struct_convention): Likewise. * value.c (generic_use_struct_convention): Remove. * defs.h (generic_use_struct_convention): Likewise. doc/ChangeLog: * gdbint.texi (Target Conditionals): Remove documentation of and references to DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, gdbarch_extract_return_value, and gdbarch_store_return_value.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index e3775d9..b682451 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -356,10 +356,7 @@ extern void set_gdbarch_integer_to_address (struct gdbarch *gdbarch, gdbarch_int
/* It has been suggested that this, well actually its predecessor,
should take the type/value of the function to be called and not the
- return type. This is left as an exercise for the reader.
- NOTE: cagney/2004-06-13: The function stack.c:return_command uses
- the predicate with default hack to avoid calling store_return_value
- (via legacy_return_value), when a small struct is involved. */
+ return type. This is left as an exercise for the reader. */
extern int gdbarch_return_value_p (struct gdbarch *gdbarch);
@@ -367,23 +364,6 @@ typedef enum return_value_convention (gdbarch_return_value_ftype) (struct gdbarc
extern enum return_value_convention gdbarch_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf);
extern void set_gdbarch_return_value (struct gdbarch *gdbarch, gdbarch_return_value_ftype *return_value);
-/* The deprecated methods extract_return_value, store_return_value,
- DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS and
- deprecated_use_struct_convention have all been folded into
- RETURN_VALUE. */
-
-typedef void (gdbarch_extract_return_value_ftype) (struct type *type, struct regcache *regcache, gdb_byte *valbuf);
-extern void gdbarch_extract_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *valbuf);
-extern void set_gdbarch_extract_return_value (struct gdbarch *gdbarch, gdbarch_extract_return_value_ftype *extract_return_value);
-
-typedef void (gdbarch_store_return_value_ftype) (struct type *type, struct regcache *regcache, const gdb_byte *valbuf);
-extern void gdbarch_store_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, const gdb_byte *valbuf);
-extern void set_gdbarch_store_return_value (struct gdbarch *gdbarch, gdbarch_store_return_value_ftype *store_return_value);
-
-typedef int (gdbarch_deprecated_use_struct_convention_ftype) (int gcc_p, struct type *value_type);
-extern int gdbarch_deprecated_use_struct_convention (struct gdbarch *gdbarch, int gcc_p, struct type *value_type);
-extern void set_gdbarch_deprecated_use_struct_convention (struct gdbarch *gdbarch, gdbarch_deprecated_use_struct_convention_ftype *deprecated_use_struct_convention);
-
typedef CORE_ADDR (gdbarch_skip_prologue_ftype) (CORE_ADDR ip);
extern CORE_ADDR gdbarch_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR ip);
extern void set_gdbarch_skip_prologue (struct gdbarch *gdbarch, gdbarch_skip_prologue_ftype *skip_prologue);