summaryrefslogtreecommitdiff
path: root/gdb/i387-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-11-27 20:35:38 +0000
committerMark Kettenis <kettenis@gnu.org>2003-11-27 20:35:38 +0000
commit97529aad740d9cd9b1782f73c7cff739f432cc77 (patch)
treed8ff6c39d2252b2d7a57cbb8aa15918326df030b /gdb/i387-tdep.h
parente7f3f97f12b56e70a9f2a5613945359a4ff22105 (diff)
downloadgdb-97529aad740d9cd9b1782f73c7cff739f432cc77.tar.gz
* x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
(x86_64_use_struct_convention, x86_64_extract_return_value, x86_64_store_return_value): Remove. (amd64_reg_class): New enum. (amd64_merge_classes, amd64_classify_aggregate, amd64_classify, amd64_return_value): New functions. (x86_64_init_abi): Don't set extract_return_value, store_return_value and use_struct_convention. Set return_value to amd64_return_value. * i387-tdep.h (i387_return_value): New prototype. * i387-tdep.c (i387_return_value): New function.
Diffstat (limited to 'gdb/i387-tdep.h')
-rw-r--r--gdb/i387-tdep.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/i387-tdep.h b/gdb/i387-tdep.h
index 377e17ac7b3..fa94a486d81 100644
--- a/gdb/i387-tdep.h
+++ b/gdb/i387-tdep.h
@@ -102,4 +102,9 @@ extern void i387_supply_fxsave (struct regcache *regcache, int regnum,
extern void i387_fill_fxsave (void *fxsave, int regnum);
+/* Prepare the FPU stack in REGCACHE for a function return. */
+
+extern void i387_return_value (struct gdbarch *gdbarch,
+ struct regcache *regcache);
+
#endif /* i387-tdep.h */