On Thu, May 09, 2002 at 11:04:27PM -0400, Andrew Cagney wrote: > Instead of removing the call, is it possible to reasonably detect if the > core file belongs to the current architecture (either in corefile.c) or > in gdbarch_FOO_init(). How about this? * corelow.c (core_open): If the core's arch is known and different from the current, reinitialize gdbarch based on the core file. -- -- Jason R. Thorpe