summaryrefslogtreecommitdiff
path: root/gdb/dicos-tdep.h
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2009-02-17 17:56:49 +0000
committerPedro Alves <pedro@codesourcery.com>2009-02-17 17:56:49 +0000
commit68e6cb94bcedea41f1e31dc9c338c1ec4471b2aa (patch)
tree311c8b8ce8bcd93e983dd4b2313599925c63fb4e /gdb/dicos-tdep.h
parentfa48e67a600b2550c9811795a6faecc44414db82 (diff)
downloadgdb-68e6cb94bcedea41f1e31dc9c338c1ec4471b2aa.tar.gz
* Makefile.in (ALL_64_TARGET_OBS): Add amd64-dicos-tdep.o.
(ALL_TARGET_OBS): Add dicos-tdep.o. (ALLDEPFILES): Add amd64-dicos-tdep.c and dicos-tdep.c. * configure.tgt (i[34567]86-*-dicos*): Add dicos-tdep.o to gdb_target_obs. (x86_64-*-dicos*): Add dicos-tdep.o and amd64-dicos-tdep.o to gdb_target_obs. * dicos-tdep.h, dicos-tdep.c: New. * amd64-dicos-tdep.c: New. * i386-dicos-tdep.c: Don't include solib.h, solib-target.h or inferior.h. Include dicos-tdep.h. (i386_dicos_init_abi): Call dicos_init_abi. (i386_dicos_bfd_has_symbol_p): Delete. (i386_dicos_osabi_sniffer): Use dicos_load_module_p. * NEWS: Mention x86-64 DICOS target support.
Diffstat (limited to 'gdb/dicos-tdep.h')
-rw-r--r--gdb/dicos-tdep.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/gdb/dicos-tdep.h b/gdb/dicos-tdep.h
new file mode 100644
index 00000000000..fb6e0829c37
--- /dev/null
+++ b/gdb/dicos-tdep.h
@@ -0,0 +1,26 @@
+/* Target-dependent, architecture-independent code for DICOS, for GDB.
+
+ Copyright (C) 2009 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 3 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, see <http://www.gnu.org/licenses/>. */
+
+#ifndef DICOS_TDEP_H
+#define DICOS_TDEP_H
+
+extern void dicos_init_abi (struct gdbarch *gdbarch);
+extern int dicos_load_module_p (bfd *abfd, int header_size);
+
+#endif /* dicos-tdep.h */