From 9103eae08213b08c59310b0b4189941c55d6ed24 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 19 Aug 2000 05:32:23 +0000 Subject: Check arches->gdbarch and not current_gdbarch when looking for a match. --- gdb/mips-tdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/mips-tdep.c') diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 4139bbc..20d5446 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -3884,9 +3884,9 @@ mips_gdbarch_init (struct gdbarch_info info, { /* MIPS needs to be pedantic about which ABI the object is using. */ - if (gdbarch_tdep (current_gdbarch)->elf_flags != elf_flags) + if (gdbarch_tdep (arches->gdbarch)->elf_flags != elf_flags) continue; - if (gdbarch_tdep (current_gdbarch)->mips_abi != mips_abi) + if (gdbarch_tdep (arches->gdbarch)->mips_abi != mips_abi) continue; return arches->gdbarch; } -- cgit v1.1