diff options
author | bde <bde@FreeBSD.org> | 1995-01-06 14:52:06 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-01-06 14:52:06 +0000 |
commit | a256f19b8fb9cf97c8d6d040d5a989b2d199bbaa (patch) | |
tree | ef1d378d3a309fb048fcea5245d71c14350bd4c2 /gnu/usr.bin/binutils | |
parent | 5d7722cc7e910b9204c266b26795f0db14242903 (diff) | |
download | FreeBSD-src-a256f19b8fb9cf97c8d6d040d5a989b2d199bbaa.zip FreeBSD-src-a256f19b8fb9cf97c8d6d040d5a989b2d199bbaa.tar.gz |
Handle segment registers (except %fs and %gs).
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/i386/tm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gdb/i386/tm.h b/gnu/usr.bin/binutils/gdb/i386/tm.h index a33a668..b3b05db 100644 --- a/gnu/usr.bin/binutils/gdb/i386/tm.h +++ b/gnu/usr.bin/binutils/gdb/i386/tm.h @@ -25,8 +25,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* 386BSD cannot handle the segment registers. */ /* BSDI can't handle them either. */ +/* FreeBSD cannot handle %fs or %gs. */ #undef NUM_REGS +#ifdef __FreeBSD__ +#define NUM_REGS 14 +#else #define NUM_REGS 10 +#endif /* On 386 bsd, sigtramp is above the user stack and immediately below the user area. Using constants here allows for cross debugging. |