summaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2013-05-07 01:09:27 +0000
committerSandra Loosemore <sandra@codesourcery.com>2013-05-07 01:09:27 +0000
commitd11968d37d20ed65dc9432822b83e948d95b46fe (patch)
tree1edbd0a09d422b3609ef07ae5067616d28ace92c /gdb/configure.tgt
parent07c04815e9ba61fb80dfa8b09c88eaabf432126e (diff)
downloadgdb-d11968d37d20ed65dc9432822b83e948d95b46fe.tar.gz
2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
Andrew Jenner <andrew@codesourcery.com> Chung-Lin Tang <cltang@codesourcery.com> Julian Brown <julian@codesourcery.com> Based on the nios2-elf port from Altera Corporation. gdb/ * Makefile.in (ALL_TARGET_OBS): Add nios2-tdep.o and nios2-linux-tdep.o. (HFILES_NO_SRCDIR): Add nios2-tdep.h. (ALLDEPFILES): Add nios2-tdep.c and nios2-linux-tdep.c. * configure.tgt: Add nios2*-*-linux* and nios2*-*-* targets. * nios2-tdep.h: New. * nios2-tdep.c: New. * nios2-linux-tdep.c: New. * features/Makefile (WHICH): Add nios2-linux. (nios2-linux-expedite): Set. * features/nios2-cpu.xml: New. * features/nios2.xml: New. * features/nios2-linux.xml: New. * features/nios2.c: New (autogenerated). * features/nios2-linux.c: New (autogenerated). * regformats/nios2-linux.dat: New (autogenerated). * NEWS (Changes since GDB 7.6): Add new Nios II targets and commands. gdb/doc/ * gdb.texinfo (Nios II): New section. (Nios II Features): New section.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 4acad872281..b0bee4757c2 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -396,6 +396,17 @@ mt-*-*)
gdb_target_obs="mt-tdep.o"
;;
+nios2*-*-linux*)
+ # Target: Altera Nios II running Linux
+ gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
+ symfile-mem.o glibc-tdep.o linux-tdep.o"
+ ;;
+
+nios2*-*-*)
+ # Target: Altera Nios II bare-metal
+ gdb_target_obs="nios2-tdep.o"
+ ;;
+
powerpc*-*-freebsd*)
# Target: FreeBSD/powerpc
gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \