aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-12-19 14:14:52 +0000
committerAndrew Cagney <cagney@redhat.com>2001-12-19 14:14:52 +0000
commitfb6ecb0ffc17d5942c04c8c6fc0abeefd7e93e54 (patch)
tree707988e347077b91873d97caf4b393c8249081fd /gdb/arch-utils.h
parenta5eb27e6ff61757fc74229dce1f8864262a51fbe (diff)
downloadgdb-fb6ecb0ffc17d5942c04c8c6fc0abeefd7e93e54.zip
gdb-fb6ecb0ffc17d5942c04c8c6fc0abeefd7e93e54.tar.gz
gdb-fb6ecb0ffc17d5942c04c8c6fc0abeefd7e93e54.tar.bz2
Add function gdbarch_info_init() replaces memset().
Diffstat (limited to 'gdb/arch-utils.h')
-rw-r--r--gdb/arch-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h
index 834d3f1..4fbe042 100644
--- a/gdb/arch-utils.h
+++ b/gdb/arch-utils.h
@@ -146,4 +146,8 @@ extern int generic_register_raw_size (int regnum);
extern int generic_register_virtual_size (int regnum);
+/* Initialize a ``struct info''. Can't use memset(0) since some
+ default values are not zero. */
+extern void gdbarch_info_init (struct gdbarch_info *info);
+
#endif