aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386/tm-fbsd.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-11-24 06:50:12 +0000
committerAndrew Cagney <cagney@redhat.com>1997-11-24 06:50:12 +0000
commitf7b8c9ce46cd96bb86beddc9e33663a556702c61 (patch)
tree849a16ca5921a0b2a647b234e91023af49605a81 /gdb/config/i386/tm-fbsd.h
parentd14573e31eb6c22006d00de0be5336cfbc69257a (diff)
downloadgdb-f7b8c9ce46cd96bb86beddc9e33663a556702c61.zip
gdb-f7b8c9ce46cd96bb86beddc9e33663a556702c61.tar.gz
gdb-f7b8c9ce46cd96bb86beddc9e33663a556702c61.tar.bz2
Improve GDB support for FreeBSD host/target.
To configure.in: make PRINTF_HAS_LONG_LONG check more pedantic; check that SCANF_HAS_LONG_DOUBLE instead of assuming PRINTF_HAS_LONG_DOUBLE implies it; document.
Diffstat (limited to 'gdb/config/i386/tm-fbsd.h')
-rw-r--r--gdb/config/i386/tm-fbsd.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/gdb/config/i386/tm-fbsd.h b/gdb/config/i386/tm-fbsd.h
new file mode 100644
index 0000000..9933e10
--- /dev/null
+++ b/gdb/config/i386/tm-fbsd.h
@@ -0,0 +1,32 @@
+/* Target macro definitions for i386 running FreeBSD
+ Copyright (C) 1997 Free Software Foundation, Inc.
+
+This file is part of GDB.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#include "i386/tm-i386bsd.h"
+
+
+#undef NUM_REGS
+#define NUM_REGS 14
+
+
+#undef IN_SOLIB_CALL_TRAMPOLINE
+#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) STREQ (name, "_DYNAMIC")
+
+
+extern i386_float_info ();
+#define FLOAT_INFO i386_float_info ()