This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog i386-tdep.c
- To: gdb-cvs at sourceware dot cygnus dot com
- Subject: src/gdb ChangeLog i386-tdep.c
- From: kettenis at sourceware dot cygnus dot com
- Date: 31 Mar 2001 13:05:32 -0000
CVSROOT: /cvs/src
Module name: src
Changes by: kettenis@sources.redhat.com 2001-03-31 05:05:26
Modified files:
gdb : ChangeLog i386-tdep.c
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.1133&r2=1.1134
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/i386-tdep.c.diff?cvsroot=src&r1=1.23&r2=1.24