This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdbarch_init called for core files, too?
- From: Jason R Thorpe <thorpej at wasabisystems dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>,Michael Snyder <msnyder at redhat dot com>, gdb at sources dot redhat dot com
- Date: Thu, 9 May 2002 18:42:31 -0700
- Subject: Re: gdbarch_init called for core files, too?
- Organization: Wasabi Systems, Inc.
- References: <20020425002919.H26223@dr-evil.shagadelic.org> <3CC837CE.2030609@cygnus.com> <20020425103504.J26223@dr-evil.shagadelic.org> <20020425145629.A15797@nevyn.them.org>
- Reply-to: thorpej at wasabisystems dot com
On Thu, Apr 25, 2002 at 02:56:29PM -0400, Daniel Jacobowitz wrote:
> I agree with Jason on this. GNU/Linux code in GDB has started identifying
> itself based on .note.ABI-tag sections; once we get an executable, we
> don't want to change the architecture again when we load its core file
> (which does not have identifying marks).
Well, it's certainly easy to fix. I will post a patch in a sec.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>