aboutsummaryrefslogtreecommitdiff
path: root/gdb/v850-tdep.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1996-09-28 00:59:13 +0000
committerStu Grossman <grossman@cygnus>1996-09-28 00:59:13 +0000
commite281063162cea878cea88fdda9bcd36b51c86ee4 (patch)
treea4689e48ae1ae6ba59af07dbb73e808635e06b66 /gdb/v850-tdep.c
parent8b19233bfe5ffa6e69e9c6e5729dec12fe26e503 (diff)
downloadgdb-e281063162cea878cea88fdda9bcd36b51c86ee4.zip
gdb-e281063162cea878cea88fdda9bcd36b51c86ee4.tar.gz
gdb-e281063162cea878cea88fdda9bcd36b51c86ee4.tar.bz2
* configure.in: Recognize v850 target.
* v850-tdep.c: New file, NEC V850 target support. * config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support.
Diffstat (limited to 'gdb/v850-tdep.c')
-rw-r--r--gdb/v850-tdep.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c
new file mode 100644
index 0000000..b710920
--- /dev/null
+++ b/gdb/v850-tdep.c
@@ -0,0 +1,38 @@
+/* Target-dependent code for the NEC V850 for GDB, the GNU debugger.
+ Copyright 1986, 1996
+ 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. */
+
+/* ??? Support for calling functions from gdb in sparc64 is unfinished. */
+
+#include "defs.h"
+#include "frame.h"
+#include "inferior.h"
+#include "obstack.h"
+#include "target.h"
+#include "value.h"
+#include "bfd.h"
+#include "gdb_string.h"
+
+#include "gdbcore.h"
+
+void
+_initialize_sparc_tdep ()
+{
+ tm_print_insn = print_insn_v850;
+}