diff options
author | Mark Kettenis <kettenis@gnu.org> | 2000-03-22 09:45:01 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2000-03-22 09:45:01 +0000 |
commit | 1a309862a732b8b9c3b4a0d8497078cc7ae5ac0e (patch) | |
tree | 9ebbb84d57afd6e4c5ed06b63103f7b527f46b86 /gdb/config | |
parent | 6a08e74c323922a660707726010c6bc368f0a758 (diff) | |
download | gdb-1a309862a732b8b9c3b4a0d8497078cc7ae5ac0e.zip gdb-1a309862a732b8b9c3b4a0d8497078cc7ae5ac0e.tar.gz gdb-1a309862a732b8b9c3b4a0d8497078cc7ae5ac0e.tar.bz2 |
2000-03-22 Mark Kettenis <kettenis@gnu.org>
* config/i386/tm-i386aix.h (I386_AIX_TARGET): Remove.
* config/i386/tm-linux.h (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM):
Remove
* i386-tdep.c (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): New defines.
(i386_extract_return_value): Rewritten. Correctly support all
floating-point types and large integer types on targets that use
the standard i386 GDB register layout and return floating-point
values in the FPU.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/tm-i386aix.h | 8 | ||||
-rw-r--r-- | gdb/config/i386/tm-linux.h | 3 |
2 files changed, 0 insertions, 11 deletions
diff --git a/gdb/config/i386/tm-i386aix.h b/gdb/config/i386/tm-i386aix.h index 6fed83d..809fb3d 100644 --- a/gdb/config/i386/tm-i386aix.h +++ b/gdb/config/i386/tm-i386aix.h @@ -30,14 +30,6 @@ #define I386 1 #endif -/* FIXME: kettenis/2000-03-02: This is used in - i386-tdep.c:i386_extract_return_value(), and will be remove once - I've fixed that. Meanwhile don't use it for any other purpose - please! */ -#ifndef I386_AIX_TARGET -#define I386_AIX_TARGET 1 -#endif - /* AIX/i386 has FPU support. However, the native configuration (which is the only supported configuration) doesn't make the FPU control registers available. Override the appropriate symbols such that diff --git a/gdb/config/i386/tm-linux.h b/gdb/config/i386/tm-linux.h index c6d8dde..2e86a5c 100644 --- a/gdb/config/i386/tm-linux.h +++ b/gdb/config/i386/tm-linux.h @@ -30,9 +30,6 @@ #include "i386/tm-i386.h" #include "tm-linux.h" -#define LOW_RETURN_REGNUM 0 /* holds low four bytes of result */ -#define HIGH_RETURN_REGNUM 2 /* holds high four bytes of result */ - /* This should probably move to tm-i386.h. */ #define TARGET_LONG_DOUBLE_BIT 80 |