aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2006-11-28 19:07:51 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2006-11-28 19:07:51 +0000
commit238ae9afbe3cc9327ea31dff4f4facc6b79cfa24 (patch)
tree186a74fa915c6005ce0478e0186f299a9c7f5ef9 /gdb/config
parent8ec659a07ea7e0c4bec363fa5f92ca59a7f5a25d (diff)
downloadgdb-238ae9afbe3cc9327ea31dff4f4facc6b79cfa24.zip
gdb-238ae9afbe3cc9327ea31dff4f4facc6b79cfa24.tar.gz
gdb-238ae9afbe3cc9327ea31dff4f4facc6b79cfa24.tar.bz2
* config/tm-linux.h (REALTIME_LO, REALTIME_HI): Do not define.
* config/mips/tm-linux.h (REALTIME_LO, REALTIME_HI): Likewise. * config/rs6000/tm-rs6000ly.h (REALTIME_LO, REALTIME_HI): Move to ... * config/nm-lynx.h (REALTIME_LO, REALTIME_HI): ... here. * config/i386/nto.mh (NAT_FILE): Define. * config/i386/nto.mt (DEPRECATED_TM_FILE): Remove. * config/i386/tm-nto.h: Delete file. * config/tm-nto.h: Delete file. * config/nm-nto.h: New file. * Makefile.in (nto-tdep.o): Add dependency on $(objfiles_h). * nto-tdep.c: Include "objfiles.h" and <string.h>. * coff-solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "". * xcoffread.c (read_xcoff_symtab): Initialize fcn_stab_saved. * config/rs6000/rs6000lynx.mt (TDEPFILES): Add xcoffread.o.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/nto.mh1
-rw-r--r--gdb/config/i386/nto.mt1
-rw-r--r--gdb/config/i386/tm-nto.h29
-rw-r--r--gdb/config/mips/tm-linux.h7
-rw-r--r--gdb/config/nm-lynx.h6
-rw-r--r--gdb/config/nm-nto.h (renamed from gdb/config/tm-nto.h)12
-rw-r--r--gdb/config/rs6000/rs6000lynx.mt2
-rw-r--r--gdb/config/rs6000/tm-rs6000ly.h6
-rw-r--r--gdb/config/tm-linux.h9
9 files changed, 13 insertions, 60 deletions
diff --git a/gdb/config/i386/nto.mh b/gdb/config/i386/nto.mh
index 3ec780e..b9e2f84 100644
--- a/gdb/config/i386/nto.mh
+++ b/gdb/config/i386/nto.mh
@@ -1,3 +1,4 @@
# Host: Intel 386 running QNX.
NATDEPFILES= nto-procfs.o
+NAT_FILE= config/nm-nto.h
diff --git a/gdb/config/i386/nto.mt b/gdb/config/i386/nto.mt
index ad62b83..b8b902a 100644
--- a/gdb/config/i386/nto.mt
+++ b/gdb/config/i386/nto.mt
@@ -1,4 +1,3 @@
# Target: Intel 386 running qnx6.
TDEPFILES = i386-tdep.o i387-tdep.o corelow.o solib.o solib-svr4.o \
i386-nto-tdep.o nto-tdep.o
-DEPRECATED_TM_FILE = tm-nto.h
diff --git a/gdb/config/i386/tm-nto.h b/gdb/config/i386/tm-nto.h
deleted file mode 100644
index 139167d..0000000
--- a/gdb/config/i386/tm-nto.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/* QNX Neutrino target header.
-
- Copyright 2003, 2004 Free Software Foundation, Inc.
-
- This code was donated by QNX Software Systems Ltd.
-
- 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., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-#ifndef TM_NTO_H
-#define TM_NTO_H 1
-
-#include "config/tm-nto.h"
-
-#endif /* TM_NTO_H */
diff --git a/gdb/config/mips/tm-linux.h b/gdb/config/mips/tm-linux.h
index 8682010..2cff207 100644
--- a/gdb/config/mips/tm-linux.h
+++ b/gdb/config/mips/tm-linux.h
@@ -22,13 +22,6 @@
#ifndef TM_MIPSLINUX_H
#define TM_MIPSLINUX_H
-/* GNU/Linux MIPS has __SIGRTMAX == 127. */
-
-#ifndef REALTIME_LO
-#define REALTIME_LO 32
-#define REALTIME_HI 128
-#endif
-
#include "config/tm-linux.h"
#undef IN_SOLIB_DYNSYM_RESOLVE_CODE
diff --git a/gdb/config/nm-lynx.h b/gdb/config/nm-lynx.h
index d4ff5a4..a3f1ca3 100644
--- a/gdb/config/nm-lynx.h
+++ b/gdb/config/nm-lynx.h
@@ -40,6 +40,12 @@ struct target_waitstatus;
#include <sys/proc.h>
#include "gdbthread.h"
+/* Lynx's signal.h doesn't seem to have any macros for what signal numbers
+ the real-time events are. */
+#define REALTIME_LO 33
+/* One more than the last one. */
+#define REALTIME_HI 64
+
/* This is the amount to subtract from u.u_ar0 to get the offset in
the core file of the register values. */
diff --git a/gdb/config/tm-nto.h b/gdb/config/nm-nto.h
index 5224a87..3ef78c6 100644
--- a/gdb/config/tm-nto.h
+++ b/gdb/config/nm-nto.h
@@ -1,8 +1,6 @@
-/* Target machine sub-description for QNX Neutrino version 6.
- This is included by other tm-*.h files to specify nto specific
- stuff.
+/* Native support for QNX Neutrino version 6.
- Copyright 2003 Free Software Foundation, Inc.
+ Copyright 2003,2006 Free Software Foundation, Inc.
This code was donated by QNX Software Systems Ltd.
@@ -23,11 +21,11 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#ifndef _TM_QNXNTO_H
-#define _TM_QNXNTO_H
+#ifndef NM_NTO_H
+#define NM_NTO_H
/* Setup the valid realtime signal range. */
#define REALTIME_LO 41
#define REALTIME_HI 56
-#endif /* _TM_QNXNTO_H */
+#endif /* NM_NTO_H */
diff --git a/gdb/config/rs6000/rs6000lynx.mt b/gdb/config/rs6000/rs6000lynx.mt
index 200a647..782f835 100644
--- a/gdb/config/rs6000/rs6000lynx.mt
+++ b/gdb/config/rs6000/rs6000lynx.mt
@@ -1,3 +1,3 @@
# Target: IBM RS6000 running LynxOS
-TDEPFILES= coff-solib.o rs6000-tdep.o ppc-sysv-tdep.o solib.o solib-svr4.o
+TDEPFILES= coff-solib.o xcoffread.o rs6000-tdep.o ppc-sysv-tdep.o solib.o solib-svr4.o
DEPRECATED_TM_FILE= tm-rs6000ly.h
diff --git a/gdb/config/rs6000/tm-rs6000ly.h b/gdb/config/rs6000/tm-rs6000ly.h
index f2d1135..a8536d6 100644
--- a/gdb/config/rs6000/tm-rs6000ly.h
+++ b/gdb/config/rs6000/tm-rs6000ly.h
@@ -23,12 +23,6 @@
#include "coff-solib.h" /* COFF shared library support */
-/* Lynx's signal.h doesn't seem to have any macros for what signal numbers
- the real-time events are. */
-#define REALTIME_LO 33
-/* One more than the last one. */
-#define REALTIME_HI 64
-
/* Use generic RS6000 definitions. */
#include "rs6000/tm-rs6000.h"
diff --git a/gdb/config/tm-linux.h b/gdb/config/tm-linux.h
index 7249893..deabd62 100644
--- a/gdb/config/tm-linux.h
+++ b/gdb/config/tm-linux.h
@@ -19,15 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* Pick reasonable defaults for the number of real-time signals. */
-
-#ifndef REALTIME_LO
-#define REALTIME_LO 32
-#endif
-#ifndef REALTIME_HI
-#define REALTIME_HI 64
-#endif
-
/* We need this file for the SOLIB_TRAMPOLINE stuff. */
/* If PC is in a shared library trampoline code, return the PC