aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh64-tdep.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-03-01 23:55:40 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-03-01 23:55:40 +0000
commit04dcf5fa3694f69b636b217ab5f7f7ea311f98d5 (patch)
treeedeca821837d5d9fd054397ad08c542854ae746e /gdb/sh64-tdep.h
parent19080931242c87277a624e46aae364f030c130c5 (diff)
downloadgdb-04dcf5fa3694f69b636b217ab5f7f7ea311f98d5.zip
gdb-04dcf5fa3694f69b636b217ab5f7f7ea311f98d5.tar.gz
gdb-04dcf5fa3694f69b636b217ab5f7f7ea311f98d5.tar.bz2
gdb/
Fix -Wmissing-prototypes build. * Makefile.in (HFILES_NO_SRCDIR): Add sh64-tdep.h. * sh-tdep.c: Include sh64-tdep.h. * sh-tdep.h (sh64_gdbarch_init, sh64_show_regs): Remove declarations. * sh64-tdep.c: Include sh64-tdep.h. * sh64-tdep.h: New file.
Diffstat (limited to 'gdb/sh64-tdep.h')
-rw-r--r--gdb/sh64-tdep.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/gdb/sh64-tdep.h b/gdb/sh64-tdep.h
new file mode 100644
index 0000000..b1b42f5
--- /dev/null
+++ b/gdb/sh64-tdep.h
@@ -0,0 +1,25 @@
+/* Target-dependent definitions for Renesas Super-H, for GDB.
+ Copyright (C) 2012 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 SH64_TDEP_H
+#define SH64_TDEP_H
+
+extern gdbarch_init_ftype sh64_gdbarch_init;
+extern void sh64_show_regs (struct frame_info *frame);
+
+#endif /* SH64_TDEP_H */