From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32480 invoked by alias); 8 Jan 2004 17:57:52 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 32463 invoked from network); 8 Jan 2004 17:57:52 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 8 Jan 2004 17:57:52 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AeePn-0004UR-SQ for ; Thu, 08 Jan 2004 12:57:51 -0500 Date: Thu, 08 Jan 2004 17:57:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [commit/mips] For elf_flags, use the previous arch Message-ID: <20040108175751.GA12919@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <3FFCE551.30009@gnu.org> <20040108142146.GA17207@nevyn.them.org> <3FFD9988.1040706@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FFD9988.1040706@gnu.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-01/txt/msg00212.txt.bz2 On Thu, Jan 08, 2004 at 12:55:20PM -0500, Andrew Cagney wrote: > >On Thu, Jan 08, 2004 at 12:06:25AM -0500, Andrew Cagney wrote: > > > >>Hello, > >> > >>This fixes a subtle edge case. Given the sequence: > >> > >> (gdb) file foo > > this changes: > elf_flags 0 -> 0x > fpu_type 0 -> 0 > > >> (gdb) set mipsfpu none > > this was changing: > elf_flags 0x -> 0 > fpu_type 0 -> 2 > but should have changed: > elf_flags 0x -> 0x > fpu_type 0 -> 2 > > >> (gdb) file foo > > this was changing: > elf_flags 0 -> 0x > fpu_type 2 -> 2 > but should have changed: > elf_flags 0x -> 0x > fpu_type 2 -> 2 > i.e., no change Thanks, I gotcha now. The unnecessary architecture happens after set mpsfpu none. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer