diff options
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r-- | gdb/rs6000-nat.c | 2 |
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)) |