summaryrefslogtreecommitdiff
path: root/gdb/config/i386
diff options
context:
space:
mode:
authorMichal Ludvig <mludvig@suse.cz>2003-08-18 13:42:13 +0000
committerMichal Ludvig <mludvig@suse.cz>2003-08-18 13:42:13 +0000
commit628f87d4a9da168b740b317e37054dc868212ddd (patch)
treeaa5bf04ae4cebf049804b681a4d463e77f0cd7c8 /gdb/config/i386
parent3e93fe2555eeee59c5954471bc612e2b20d238bf (diff)
downloadgdb-628f87d4a9da168b740b317e37054dc868212ddd.tar.gz
2003-08-18 Michal Ludvig <mludvig@suse.cz>
* config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. * i386-linux-nat.c: Include "linux-nat.h". (child_post_startup_inferior): New function.
Diffstat (limited to 'gdb/config/i386')
-rw-r--r--gdb/config/i386/nm-x86-64linux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/i386/nm-x86-64linux.h b/gdb/config/i386/nm-x86-64linux.h
index 8ff80957d57..d1ac9104a15 100644
--- a/gdb/config/i386/nm-x86-64linux.h
+++ b/gdb/config/i386/nm-x86-64linux.h
@@ -61,4 +61,9 @@ extern unsigned long x86_64_linux_dr_get_status (void);
/* Override copies of {fetch,store}_inferior_registers in `infptrace.c'. */
#define FETCH_INFERIOR_REGISTERS
+/* `linux-nat.c' and `i386-nat.c' have their own versions of
+ child_post_startup_inferior. Define this to use the copy in
+ `x86-86-linux-nat.c' instead, which calls both. */
+#define LINUX_CHILD_POST_STARTUP_INFERIOR
+
#endif /* NM_X86_64_LINUX_H */