aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-linux.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-06-23 00:25:11 +0000
committerPer Bothner <per@bothner.com>1992-06-23 00:25:11 +0000
commite37a6e9c8a53dec0d1b122ae3cd218cb594643d2 (patch)
treee88ccd1bc3d0749939a16d216e9653ca796bffd1 /gdb/tm-linux.h
parentdefb51a7222598ac26e96593ad69659226ad218e (diff)
downloadgdb-e37a6e9c8a53dec0d1b122ae3cd218cb594643d2.zip
gdb-e37a6e9c8a53dec0d1b122ae3cd218cb594643d2.tar.gz
gdb-e37a6e9c8a53dec0d1b122ae3cd218cb594643d2.tar.bz2
* infrun.c (wait_for_inferior): Don't test for SIGEMT
(which is not a Posix signal) if it isn't defined. * tm-linux.h, xm-linux.h, config/linux.m[ht], configure.in: New port to Linux (a free Unix clone for 386 machines).
Diffstat (limited to 'gdb/tm-linux.h')
-rw-r--r--gdb/tm-linux.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/gdb/tm-linux.h b/gdb/tm-linux.h
new file mode 100644
index 0000000..f36505f
--- /dev/null
+++ b/gdb/tm-linux.h
@@ -0,0 +1,27 @@
+/* Macro definitions for linux.
+ Copyright (C) 1992 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. */
+
+#if !defined (TM_LINUX_H)
+#define TM_LINUX_H 1
+/* number of traps that happen between exec'ing the shell
+ * to run an inferior, and when we finally get to
+ * the inferior code. This is 2 on most implementations.
+ */
+#define START_INFERIOR_TRAPS_EXPECTED 2
+#include "tm-i386v.h"
+/* Define this if the C compiler puts an underscore at the front
+ of external names before giving them to the linker. */
+#define NAMES_HAVE_UNDERSCORE
+#endif /* !defined (TM_LINUX_H) */