diff options
author | Pedro Alves <palves@redhat.com> | 2009-02-17 17:56:50 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-02-17 17:56:50 +0000 |
commit | 4c1d29734e9ca4e8921c9962e0f342bcc9e95c16 (patch) | |
tree | eb32db580082ecd49a7734cd89cfd5ecc8fa017e /gdb/dicos-tdep.h | |
parent | 1903f0e64bb6f600388af42a7af7aff02e70bdef (diff) | |
download | gdb-4c1d29734e9ca4e8921c9962e0f342bcc9e95c16.zip gdb-4c1d29734e9ca4e8921c9962e0f342bcc9e95c16.tar.gz gdb-4c1d29734e9ca4e8921c9962e0f342bcc9e95c16.tar.bz2 |
* 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.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gdb/dicos-tdep.h b/gdb/dicos-tdep.h new file mode 100644 index 0000000..fb6e082 --- /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 */ |