aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-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/xm-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/xm-linux.h')
-rw-r--r--gdb/xm-linux.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/gdb/xm-linux.h b/gdb/xm-linux.h
new file mode 100644
index 0000000..771c3db
--- /dev/null
+++ b/gdb/xm-linux.h
@@ -0,0 +1,23 @@
+/* Macro defintions for linux.
+ Copyright (C) 1986, 1987, 1989 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 "xm-i386v.h"
+/* Tell gdb that we can attach and detach other processes */
+#define ATTACH_DETACH
+/* This is the amount to subtract from u.u_ar0
+ to get the offset in the core file of the register values. */
+#undef KERNEL_U_ADDR
+#define KERNEL_U_ADDR 0x0
+#define U_REGS_OFFSET 0