summaryrefslogtreecommitdiff
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
commit054e0cc8fce25ba2ec256961e1d7e963dc1b2256 (patch)
treeb540df7d0fe0a76c8eb65407624add695c1a3c50 /gdb/arch-utils.h
parentaa3694a74e7eebff621de726862bb1e2d1873acb (diff)
downloadgdb-054e0cc8fce25ba2ec256961e1d7e963dc1b2256.tar.gz
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 834d3f1a459..4fbe042fb5c 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