Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [commit/mips] For elf_flags, use the previous arch
Date: Thu, 08 Jan 2004 17:57:00 -0000	[thread overview]
Message-ID: <20040108175751.GA12919@nevyn.them.org> (raw)
In-Reply-To: <3FFD9988.1040706@gnu.org>

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<something>
> 	fpu_type 0 -> 0
> 
> >>	(gdb) set mipsfpu none
> 
> this was changing:
> 	elf_flags 0x<something> -> 0
> 	fpu_type 0 -> 2
> but should have changed:
> 	elf_flags 0x<something> -> 0x<something>
> 	fpu_type 0 -> 2
> 
> >>	(gdb) file foo
> 
> this was changing:
> 	elf_flags 0 -> 0x<something>
> 	fpu_type 2 -> 2
> but should have changed:
> 	elf_flags 0x<something> -> 0x<something>
> 	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


      reply	other threads:[~2004-01-08 17:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-08  5:06 Andrew Cagney
2004-01-08 14:21 ` Daniel Jacobowitz
2004-01-08 17:55   ` Andrew Cagney
2004-01-08 17:57     ` Daniel Jacobowitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040108175751.GA12919@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox