aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-01-06 14:52:06 +0000
committerBruce Evans <bde@FreeBSD.org>1995-01-06 14:52:06 +0000
commite15532385d24ad782eb93293f896eba6caccd68c (patch)
treeef1d378d3a309fb048fcea5245d71c14350bd4c2
parent623976474c56782abe0c3dfc537e6887fc4484c2 (diff)
Notes
-rw-r--r--gnu/usr.bin/binutils/gdb/i386/tm.h5
-rw-r--r--gnu/usr.bin/gdb/gdb/tm.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gdb/i386/tm.h b/gnu/usr.bin/binutils/gdb/i386/tm.h
index a33a6685c822..b3b05dbfde80 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.
diff --git a/gnu/usr.bin/gdb/gdb/tm.h b/gnu/usr.bin/gdb/gdb/tm.h
index a33a6685c822..b3b05dbfde80 100644
--- a/gnu/usr.bin/gdb/gdb/tm.h
+++ b/gnu/usr.bin/gdb/gdb/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.