From efb1c01c42e189ee72b721d5079ffa19f1aecfae Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Thu, 27 Nov 2003 20:35:38 +0000 Subject: * 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. --- gdb/i387-tdep.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/i387-tdep.h') 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 */ -- cgit v1.2.1