* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
authorMark Kettenis <kettenis@gnu.org>
Tue, 15 May 2001 11:38:26 +0000 (11:38 +0000)
committerMark Kettenis <kettenis@gnu.org>
Tue, 15 May 2001 11:38:26 +0000 (11:38 +0000)
info.bfd_arch_info.

gdb/ChangeLog
gdb/sparc-tdep.c

index 06ba9c882582e28f8c5a18a8ce69f5fd37679d58..2b2bfad09559794f2524f0f11fbeea16eea3c2d2 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
+       info.bfd_arch_info.
+
 2001-05-14  Kevin Buettner  <kevinb@redhat.com>
 
        * lin-lwp.c (detach_callback, lin_lwp_wait, lin_lwp_pid_to_str):
index 2cb27dbb8a59b0ed7a313c5c53229e075ec7c251..ef9ae07f0ee3cd970e48ed8b492782ead9731d6a 100644 (file)
@@ -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.  */
This page took 0.029175 seconds and 4 git commands to generate.