This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] Add support for fido.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 7 Oct 2007 11:12:33 -0700
- Subject: [patch] Add support for fido.
Hi,
Attached is a patch to support for fido.
Tested by running Hello, world from gdb. OK to apply?
Kazu Hirata
2007-10-07 Kazu Hirata <kazu@codesourcery.com>
* configure.tgt: Recognize fido-*-elf.
* config/m68k/fido.mt: New.
Index: gdb/configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.189
diff -u -d -p -r1.189 configure.tgt
--- gdb/configure.tgt 27 Apr 2007 13:19:48 -0000 1.189
+++ gdb/configure.tgt 7 Oct 2007 18:03:30 -0000
@@ -32,6 +32,7 @@ alpha*) gdb_target_cpu=alpha ;;
am33_2.0*) gdb_target_cpu=mn10300 ;;
arm*) gdb_target_cpu=arm ;;
avr*) gdb_target_cpu=avr ;;
+fido*) gdb_target_cpu=m68k ;;
hppa*) gdb_target_cpu=pa ;;
i[34567]86*) gdb_target_cpu=i386 ;;
m68hc11*|m6811*) gdb_target_cpu=m68hc11 ;;
@@ -94,6 +95,8 @@ avr-*-*) gdb_target=avr ;;
cris*) gdb_target=cris ;;
+fido-*-elf*) gdb_target=fido ;;
+
frv-*-*) gdb_target=frv ;;
h8300-*-*) gdb_target=h8300 ;;
--- /dev/null 2007-05-10 18:31:20.000000000 -0700
+++ gdb/config/m68k/fido.mt 2007-10-07 10:13:36.000000000 -0700
@@ -0,0 +1,2 @@
+# Target: Motorola m68k embedded (EST emulator, rom68k and bug monitors)
+TDEPFILES= m68k-tdep.o monitor.o dbug-rom.o dsrec.o