This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obish] Eliminate config/nm-gnu.h


Similar to my previous commit, it's only included in one place, this inlines the contents.

committed,
Andrew
2004-11-30  Andrew Cagney  <cagney@gnu.org>

	* config/nm-gnu.h: Delete file.
	* config/i386/nm-i386gnu.h: Inline "config/nm-gnu.h".

Index: config/i386/nm-i386gnu.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-i386gnu.h,v
retrieving revision 1.2
diff -p -u -r1.2 nm-i386gnu.h
--- config/i386/nm-i386gnu.h	8 Jun 2004 19:58:12 -0000	1.2
+++ config/i386/nm-i386gnu.h	30 Nov 2004 15:13:34 -0000
@@ -21,8 +21,21 @@
 #ifndef NM_I386GNU_H
 #define NM_I386GNU_H
 
-/* Include common definitions for GNU systems.  */
-#include "config/nm-gnu.h"
+#include <unistd.h>
+#include <mach.h>
+#include <mach/exception.h>
+#include "regcache.h"
+
+extern char *gnu_target_pid_to_str (int pid);
+
+/* Before storing, we need to read all the registers.  */
+#define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, deprecated_register_bytes ())
+
+/* Don't do wait_for_inferior on attach.  */
+#define ATTACH_NO_WAIT
+
+/* Use SVR4 style shared library support */
+#include "solib.h"
 
 /* Thread flavors used in re-setting the T bit.  */
 #define THREAD_STATE_FLAVOR		i386_REGS_SEGS_STATE

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]