This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [commit] Adding support for Xtensa GNU/Linux


Markus,

Thanks much for fixing this issue.

-- Maxim


Markus Deuling wrote:
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.



------------------------------------------------------------------------

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 \


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