Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kazu Hirata <kazu@codesourcery.com>
To: gdb-patches@sources.redhat.com
Cc: dan@codesourcery.com
Subject: [patch] Add support for fido.
Date: Tue, 26 Dec 2006 02:03:00 -0000	[thread overview]
Message-ID: <200612260203.kBQ23lTL007249@sparrowhawk.codesourcery.com> (raw)

Hi,

Attached is a patch to add support for fido, a new chip from Innovasic
Semiconductor.

Tested by building gdb and running "Hello, world".  OK to apply?

Kazu Hirata

gdb/
2006-12-25  Kazu Hirata  <kazu@codesourcery.com>

	* configure.tgt: Recognize fido.
	* config/m68k/fido.mt, config/m68k/tm-fido.h: New.

Index: gdb/configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.181
diff -u -d -p -r1.181 configure.tgt
--- gdb/configure.tgt	15 Dec 2006 23:45:04 -0000	1.181
+++ gdb/configure.tgt	26 Dec 2006 01:59:26 -0000
@@ -14,6 +14,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 ;;
@@ -75,6 +76,8 @@ cris*)                  gdb_target=cris 
 
 # OBSOLETE d10v-*-*)		gdb_target=d10v ;;
 
+fido-*-elf*)		gdb_target=fido ;;
+
 frv-*-*)		gdb_target=frv ;;
 
 h8300-*-*)		gdb_target=h8300 ;;
Index: gdb/config/m68k/fido.mt
===================================================================
RCS file: gdb/config/m68k/fido.mt
diff -N gdb/config/m68k/fido.mt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gdb/config/m68k/fido.mt	26 Dec 2006 01:59:26 -0000
@@ -0,0 +1,3 @@
+# Target: Motorola m68k embedded (EST emulator, rom68k and bug monitors)
+TDEPFILES= m68k-tdep.o monitor.o dbug-rom.o dsrec.o
+DEPRECATED_TM_FILE = tm-fido.h
Index: gdb/config/m68k/tm-fido.h
===================================================================
RCS file: gdb/config/m68k/tm-fido.h
diff -N gdb/config/m68k/tm-fido.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gdb/config/m68k/tm-fido.h	26 Dec 2006 01:59:26 -0000
@@ -0,0 +1,28 @@
+/* Target machine definitions for a generic m68k monitor/emulator.
+   Copyright 2006
+   Free Software Foundation, Inc.
+
+   This file is part of GDB.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+/* Watchpoints are always continuable for these targets.  There's no
+   multi-arch way to set this yet since it still lives in the target
+   vector.
+
+   FIXME: If the Fido port is ever submitted, this should move to
+   gdbarch.  */
+#define HAVE_CONTINUABLE_WATCHPOINT 1


             reply	other threads:[~2006-12-26  2:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-26  2:03 Kazu Hirata [this message]
2006-12-26  6:18 ` Daniel Jacobowitz
2006-12-26 14:07 ` Mark Kettenis
2007-10-07 18:12 Kazu Hirata
2007-10-08 23:57 ` Daniel Jacobowitz
2007-10-11 14:23   ` Kazu Hirata
2007-10-11 14:24     ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200612260203.kBQ23lTL007249@sparrowhawk.codesourcery.com \
    --to=kazu@codesourcery.com \
    --cc=dan@codesourcery.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox