Check arches->gdbarch and not current_gdbarch when looking for a match.
This commit is contained in:
parent
e99586d56a
commit
9103eae082
|
@ -1,3 +1,8 @@
|
||||||
|
2000-08-18 Andrew Cagney <cagney@ops1.cygnus.com>
|
||||||
|
|
||||||
|
* mips-tdep.c (mips_gdbarch_init): Check arches->gdbarch and not
|
||||||
|
current_gdbarch for a match.
|
||||||
|
|
||||||
2000-08-18 J.T. Conklin <jtc@redback.com>
|
2000-08-18 J.T. Conklin <jtc@redback.com>
|
||||||
|
|
||||||
* MAINTAINERS: Add myself as dcache.c maintainer.
|
* MAINTAINERS: Add myself as dcache.c maintainer.
|
||||||
|
|
|
@ -3884,9 +3884,9 @@ mips_gdbarch_init (struct gdbarch_info info,
|
||||||
{
|
{
|
||||||
/* MIPS needs to be pedantic about which ABI the object is
|
/* MIPS needs to be pedantic about which ABI the object is
|
||||||
using. */
|
using. */
|
||||||
if (gdbarch_tdep (current_gdbarch)->elf_flags != elf_flags)
|
if (gdbarch_tdep (arches->gdbarch)->elf_flags != elf_flags)
|
||||||
continue;
|
continue;
|
||||||
if (gdbarch_tdep (current_gdbarch)->mips_abi != mips_abi)
|
if (gdbarch_tdep (arches->gdbarch)->mips_abi != mips_abi)
|
||||||
continue;
|
continue;
|
||||||
return arches->gdbarch;
|
return arches->gdbarch;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue