aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorMaxim Grigoriev <maxim2405@gmail.com>2008-02-11 21:58:41 +0000
committerMaxim Grigoriev <maxim2405@gmail.com>2008-02-11 21:58:41 +0000
commit94a0e877111421d300d26b858bd3a0a27078d1e8 (patch)
treef34169ef9230d5d48df5cfb3979774e416dd99e9 /gdb/Makefile.in
parent6c7d412cf3470258471ef41332d68e17c0127c26 (diff)
downloadgdb-94a0e877111421d300d26b858bd3a0a27078d1e8.zip
gdb-94a0e877111421d300d26b858bd3a0a27078d1e8.tar.gz
gdb-94a0e877111421d300d26b858bd3a0a27078d1e8.tar.bz2
2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
* NEWS (New native configurations): Xtensa GNU/Linux. (New targets): Xtensa GNU/Linux. * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and xtensa-linux-tdep.o (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies. * configure.tgt (xtensa*-*-linux*): New entry. * xtensa-config.c (xtensa_tdep): New variable. (xtensa_config_byte_order, xtensa_config_tdep): Removed. (rmap): Change format based on new macro XTREG. (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h. * xtensa-linux-nat.c: New. * xtensa-linux-tdep.c: New. * xtensa-xtregs.c: New. * xtensa-tdep.h (xtensa_elf_gregset_t): Update. (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE) (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros. (xtensa_register_t): New field coprocessor. (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected. * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed. (xtensa_pseudo_register_read, xtensa_pseudo_register_write): Update to handle privileged registers. (xtensa_supply_gregset) Remove exccause and excvaddr registers. (xtensa_push_dummy_call): Set windowstart register correctly. (call0_analyze_prologue): Initialize xtensa_default_isa. (xtensa_derive_tdep): New. (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead. Call xtensa_derive_tdep(). * config/xtensa/linux.mh: New. * regformats/reg-xtensa.dat: New.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index fadd3bf..24f54b9 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -479,7 +479,7 @@ ALL_TARGET_OBS = \
v850-tdep.o \
vaxnbsd-tdep.o vaxobsd-tdep.o vax-tdep.o \
xstormy16-tdep.o \
- xtensa-config.o xtensa-tdep.o \
+ xtensa-config.o xtensa-tdep.o xtensa-linux-nat.o xtensa-linux-tdep.o \
glibc-tdep.o \
bsd-uthread.o \
nbsd-tdep.o obsd-tdep.o \
@@ -1602,7 +1602,8 @@ ALLDEPFILES = \
win32-nat.c \
xcoffread.c xcoffsolib.c \
xstormy16-tdep.c \
- xtensa-tdep.c xtensa-config.c
+ xtensa-tdep.c xtensa-config.c \
+ xtensa-linux-tdep.c xtensa-linux-nat.c xtensa-xtregs.c
# Some files need explicit build rules (due to -Werror problems) or due
# to sub-directory fun 'n' games.
@@ -2977,6 +2978,12 @@ xstormy16-tdep.o: xstormy16-tdep.c $(defs_h) $(frame_h) $(frame_base_h) \
$(gdbcmd_h) $(gdbcore_h) $(value_h) $(dis_asm_h) $(inferior_h) \
$(gdb_string_h) $(gdb_assert_h) $(arch_utils_h) $(floatformat_h) \
$(regcache_h) $(doublest_h) $(osabi_h) $(objfiles_h)
+xtensa-linux-nat.o: xtensa-linux-nat.c $(defs_h) $(gdb_string_h) $(frame_h) \
+ $(inferior_h) $(gdbcore_h) $(regcache_h) $(gdb_assert_h) \
+ $(gdb_wait_h) $(gregset_h) $(ppc_tdep_h) $(target_h) \
+ $(linux_nat_h) $(xtensa_tdep_h) xtensa-xtregs.c
+xtensa-linux-tdep.o: xtensa-linux-tdep.c $(defs_h) $(osabi_h) $(solib_svr4_h) \
+ $(symtab_h) $(xtensa_tdep_h)
xtensa-tdep.o: xtensa-tdep.c $(defs_h) $(doublest_h) $(frame_h) \
$(frame_unwind_h) $(frame_base_h) $(inferior_h) $(symtab_h) \
$(value_h) $(gdbcmd_h) $(gdbcore_h) $(dis_asm_h) $(symfile_h) \