aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-nat.c
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/rs6000-nat.c
parenta5eb27e6ff61757fc74229dce1f8864262a51fbe (diff)
downloadgdb-fb6ecb0ffc17d5942c04c8c6fc0abeefd7e93e54.zip
gdb-fb6ecb0ffc17d5942c04c8c6fc0abeefd7e93e54.tar.gz
gdb-fb6ecb0ffc17d5942c04c8c6fc0abeefd7e93e54.tar.bz2
Add function gdbarch_info_init() replaces memset().
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r--gdb/rs6000-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index e6693cc..1f2e1f7 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -926,7 +926,7 @@ set_host_arch (int pid)
}
bfd_default_set_arch_mach (&abfd, arch, mach);
- memset (&info, 0, sizeof info);
+ gdbarch_info_init (&info);
info.bfd_arch_info = bfd_get_arch_info (&abfd);
if (!gdbarch_update_p (info))