From fb6ecb0ffc17d5942c04c8c6fc0abeefd7e93e54 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 19 Dec 2001 14:14:52 +0000 Subject: Add function gdbarch_info_init() replaces memset(). --- gdb/arch-utils.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/arch-utils.h') 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 -- cgit v1.1