This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Adding support for Xtensa GNU/Linux
- From: Markus Deuling <deuling at de dot ibm dot com>
- To: Maxim Grigoriev <maxim at tensilica dot com>
- Cc: gdb-patches at sources dot redhat dot com, Marc Gauthier <marc at tensilica dot com>, Chris Zankel <czankel at tensilica dot com>, Bob Wilson <bwilson at tensilica dot com>
- Date: Wed, 13 Feb 2008 08:14:13 +0100
- Subject: Re: [commit] Adding support for Xtensa GNU/Linux
- References: <47B0C695.7010908@hq.tensilica.com>
Hi Maxim,
Maxim Grigoriev schrieb:
This patch adds support for Xtensa GNU/Linux.
We like XML approach to describe register files. It matches
Xtensa, which requires register files to be easily configurable.
But, we need more time to update Xtensa FSF GDB/GDBSERVER
to start fully using this feature. So this version of Xtensa
FSF GDB/GDBSERVER does not use this new approach.
there is a problem in your patch that breaks GDB's build if you build with enable-targets=all.
xtensa-linux-nat.o is part of ALL_TARGET_OBS which are built when using enable-targets=all. If you now build GDB
for example on x86 you have two native files (the one from x86 and always xtensa-linux-nat).
This patch fixes that. Ok to commit?
ChangeLog:
* Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
diff -urpN src/gdb/Makefile.in dev/gdb/Makefile.in
--- src/gdb/Makefile.in 2008-02-12 05:50:17.000000000 +0100
+++ dev/gdb/Makefile.in 2008-02-13 08:12:06.000000000 +0100
@@ -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-linux-nat.o xtensa-linux-tdep.o \
+ xtensa-config.o xtensa-tdep.o xtensa-linux-tdep.o \
glibc-tdep.o \
bsd-uthread.o \
nbsd-tdep.o obsd-tdep.o \