[patch] target triplet for Microblaze.

Masaki Muranaka
2010-11-18T09:23:34Z

Hello,
I have a question.

The CVS head can't accept microblaze*-(manufacturer)-elf and microblaze*-(manufacturer)-linux* as the target triplet.
This behavior is not based upon the description in Autobook.
http://sourceware.org/autobook/autobook/autobook_17.html

The patch is below.
It might we should remove microblaze*-linux-*. But I left it for the backward compatibility.

ok to apply?

- - - - -
2010-11-18 Masaki Muranaka <monaka@monami-software.com>

* configure.tgt: Accept microblaze*-*-linux* for linux target
and microblaze*-*-* for as target.
- - - - -
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index bca2260..e065e70 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -323,14 +323,14 @@ mep-*-*)
# No sim needed. Target uses SID.
;;

-microblaze*-linux-*)
+microblaze*-linux-*|microblaze*-*-linux*)
# Target: Xilinx MicroBlaze running Linux
gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o microblaze-rom.o
monitor.o dsrec.o solib.o solib-svr4.o corelow.o \
symfile-mem.o linux-tdep.o"
gdb_sim=../sim/microblaze/libsim.a
;;
-microblaze*-xilinx-*)
+microblaze*-*-*)
# Target: Xilinx MicroBlaze running standalone
gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o"
gdb_sim=../sim/microblaze/libsim.a