diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-03-31 13:05:16 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-03-31 13:05:16 +0000 |
commit | 1e8d0a7b553cd82164b9eb5bc55045cf7aa40728 (patch) | |
tree | 0677f1fcaacc2804a631528194f860bf0c7f8177 /gdb/i386-nat.c | |
parent | 61b96bb4281e65ed15d15ed7e9ae5102d64bc8c9 (diff) | |
download | gdb-1e8d0a7b553cd82164b9eb5bc55045cf7aa40728.zip gdb-1e8d0a7b553cd82164b9eb5bc55045cf7aa40728.tar.gz gdb-1e8d0a7b553cd82164b9eb5bc55045cf7aa40728.tar.bz2 |
* i386-tdep.c (i386_extract_return_value): If the type of the
return value is TYPE_STRUCT and the number of fields is one, call
ourselves with TYPE set tp the type of the first field.
(i386_store_return_value): Likewise.
This fixes a problem with returning structs consisting of a single
`float' or `double' on *BSD.
Diffstat (limited to 'gdb/i386-nat.c')
0 files changed, 0 insertions, 0 deletions