mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 01:45:52 +08:00
* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
info.bfd_arch_info.
This commit is contained in:
@ -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):
|
||||
|
@ -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. */
|
||||
|
Reference in New Issue
Block a user