diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-11-27 20:35:38 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-11-27 20:35:38 +0000 |
commit | efb1c01c42e189ee72b721d5079ffa19f1aecfae (patch) | |
tree | 68c7c5a33746a346cc3a5c09ef9fd9d065a6277d /gdb/i387-tdep.h | |
parent | 41a7d11a930fffaa7ec7192e76ff296e841f1f62 (diff) | |
download | gdb-efb1c01c42e189ee72b721d5079ffa19f1aecfae.zip gdb-efb1c01c42e189ee72b721d5079ffa19f1aecfae.tar.gz gdb-efb1c01c42e189ee72b721d5079ffa19f1aecfae.tar.bz2 |
* 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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/i387-tdep.h b/gdb/i387-tdep.h index 377e17a..fa94a48 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 */ |