Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Andrew Cagney <ac131313@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] Fix gdb/1426: osabi initialization race condition
Date: Fri, 24 Oct 2003 13:55:00 -0000	[thread overview]
Message-ID: <3F992F3A.8090607@redhat.com> (raw)
In-Reply-To: <20031024041207.GA19243@nevyn.them.org>

> On Thu, Oct 23, 2003 at 10:44:42PM -0400, Andrew Cagney wrote:
> 
>> Hello,
>> 
>> ref: http://sources.redhat.com/gdb/bugs/1426 for details.
>> 
>> The attached implements the "hack" suggested in tdep/1426 to work around 
>> a bogus error message:
>> 
>> A handler for the OS ABI "GNU/Linux" is not built into this 
>> configuration of GDB.  Attempting to continue with the default 
>> rs6000:6000 settingsGNU gdb 2003-10-23-cvs
>> Copyright 2003 Free Software Foundation, Inc.
>> ...
>> 
>> that appears on some platforms during startup.
>> 
>> Baring comment, I'll commit this in a few days.
>> 
>> Andrew
> 
> 
> This is a rather unfortunate hack.

Hmm, patch withdrawn.

> This is the way it is now, I think:
>   - first architecture is created
>   - per-file init:
>     - then the target's tdep file creates the osabi

The sequence was:

- create fake architecture
- per-file init
- create real architecture

but a more careful check reveals that the first call has been eliminated 
- something else is causing that warning :-/

Andrew



      reply	other threads:[~2003-10-24 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-24  2:45 Andrew Cagney
2003-10-24  4:12 ` Daniel Jacobowitz
2003-10-24 13:55   ` Andrew Cagney [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=3F992F3A.8090607@redhat.com \
    --to=ac131313@redhat.com \
    --cc=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