aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-14 22:30:41 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-14 22:30:41 +0000
commit5179e78f8bb61cc27284146d64b0f74b1c7db623 (patch)
tree47bf18c7628235c0955ec58325f877a26c5732d3
parentedf393acc9a1db260b52316bc7840f1d0c28cba1 (diff)
downloadgdb-5179e78f8bb61cc27284146d64b0f74b1c7db623.zip
gdb-5179e78f8bb61cc27284146d64b0f74b1c7db623.tar.gz
gdb-5179e78f8bb61cc27284146d64b0f74b1c7db623.tar.bz2
* Makefile.in (i386_linux_tdep_h): Define.
(i386_tdep_h, i387_tdep_h): Define. (i386-linux-nat.o): Add $(i386_linux_tdep_h), $(i386_tdep_h) and $(i387_tdep_h). * i386-linux-nat.c: Include "i386-linux-tdep.h".
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/Makefile.in6
-rw-r--r--gdb/i386-linux-nat.c3
3 files changed, 16 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b74288b..fdce4eb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,11 @@
+2002-06-14 Andrew Cagney <cagney@redhat.com>
+
+ * Makefile.in (i386_linux_tdep_h): Define.
+ (i386_tdep_h, i387_tdep_h): Define.
+ (i386-linux-nat.o): Add $(i386_linux_tdep_h),
+ $(i386_tdep_h) and $(i387_tdep_h).
+ * i386-linux-nat.c: Include "i386-linux-tdep.h".
+
2002-06-14 Mark Kettenis <kettenis@gnu.org>
* config/i386/tm-i386.h (START_INFERIOR_TRAPS_EXPECTED): Removed.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index a95117e..7b353bf 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -637,6 +637,9 @@ gdbcmd_h = gdbcmd.h $(command_h) $(ui_out_h)
gdbcore_h = gdbcore.h $(bfd_h)
gdbthread_h = gdbthread.h $(breakpoint_h)
gdbtypes_h = gdbtypes.h
+i386_tdep_h = i386-tdep.h
+i386_linux_tdep_h = i386-linux-tdep.h
+i387_tdep_h = i387-tdep.h
inf_loop_h = inf-loop.h
inferior_h = inferior.h $(breakpoint_h)
language_h = language.h
@@ -1677,7 +1680,8 @@ i386v-nat.o: i386v-nat.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
$(inferior_h) $(language_h) $(target_h)
i386-linux-nat.o: i386-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
- $(symtab_h) $(symfile_h) $(objfiles_h) $(regcache_h)
+ $(symtab_h) $(symfile_h) $(objfiles_h) $(regcache_h) \
+ $(i386_linux_tdep_h) $(i386_tdep_h) $(i387_tdep_h)
i386-linux-tdep.o: i386-linux-tdep.c $(defs_h) $(gdbcore_h) $(frame_h) \
$(value_h) $(regcache_h)
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
index 222c614..26f5aaf 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -62,6 +62,9 @@
/* Defines for XMM0_REGNUM etc. */
#include "i386-tdep.h"
+/* Defines I386_LINUX_ORIG_EAX_REGNUM. */
+#include "i386-linux-tdep.h"
+
/* Prototypes for local functions. */
static void dummy_sse_values (void);