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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0489c98..550af70 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2001-03-31 Mark Kettenis <kettenis@gnu.org> + + * 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. + 2001-03-30 Mark Kettenis <kettenis@gnu.org> * lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until |