diff options
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r-- | gdb/sparc-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 2cb27db..ef9ae07 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -2931,7 +2931,7 @@ sparc_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) return arches->gdbarch; /* None found: is the request for a sparc architecture? */ - if (info.bfd_architecture != bfd_arch_sparc) + if (info.bfd_arch_info->arch != bfd_arch_sparc) return NULL; /* No; then it's not for us. */ /* Yes: create a new gdbarch for the specified machine type. */ |