* 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.
+2006-11-28 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * 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.
+
2006-11-28 Daniel Jacobowitz <dan@codesourcery.com>
* dwarf2-frame.c (decode_frame_entry_1): Skip unknown augmentations
$(gdbthread_h) $(nto_tdep_h) $(command_h) $(regcache_h) $(solib_h)
nto-tdep.o: nto-tdep.c $(gdb_stat_h) $(gdb_string_h) $(nto_tdep_h) $(top_h) \
$(cli_decode_h) $(cli_cmds_h) $(inferior_h) $(gdbarch_h) $(bfd_h) \
- $(elf_bfd_h) $(solib_svr4_h) $(gdbcore_h)
+ $(elf_bfd_h) $(solib_svr4_h) $(gdbcore_h) $(objfiles_h)
objc-exp.o: objc-exp.c $(defs_h) $(gdb_string_h) $(expression_h) \
$(objc_lang_h) $(value_h) $(parser_defs_h) $(language_h) $(c_lang_h) \
$(bfd_h) $(symfile_h) $(objfiles_h) $(top_h) $(completer_h) \
*/
#define SOLIB_UNLOADED_LIBRARY_PATHNAME(pid) \
-(0)
+""
/* This function returns TRUE if pc is the address of an instruction that
lies within the dynamic linker (such as the event hook, or the dld
# Host: Intel 386 running QNX.
NATDEPFILES= nto-procfs.o
+NAT_FILE= config/nm-nto.h
# 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
+++ /dev/null
-/* 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 */
#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
#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. */
-/* 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.
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 */
# 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
#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"
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
#include "elf-bfd.h"
#include "solib-svr4.h"
#include "gdbcore.h"
+#include "objfiles.h"
+
+#include <string.h>
#ifdef __CYGWIN__
#include <sys/cygwin.h>
int depth = 0;
int fcn_start_addr = 0;
- struct coff_symbol fcn_stab_saved;
+ struct coff_symbol fcn_stab_saved = { 0 };
/* fcn_cs_saved is global because process_xcoff_symbol needs it. */
union internal_auxent fcn_aux_saved;