Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Add 'getthrds' declaration check in configure for AIX
Date: Wed, 16 Mar 2011 04:48:00 -0000	[thread overview]
Message-ID: <20110316014023.GO31264@adacore.com> (raw)
In-Reply-To: <201103160017.45295.pedro@codesourcery.com>

> > +# Older versions of AIX do not provide the declaration for the getthrds
> > +# function (it appears that it was introduced with AIX 6.x).
> > +AC_CHECK_DECLS(getthrds, [], [], [[#include <procinfo.h>]])
> > +
> 
> Any reason this isn't done close to where we check for AIX
> thread support, and decide to whether to build aix-thread.c in the
> first place?  Look for "AiX thread debugging library" further down.

No specific reason, no. I placed the check there because it seemed
to be the general area where we make cheks of this kind (checks for
library functions, ptrace prototypes, etc).  But I'm happy to move
it next to the AIX thread detection check.  We could even perform
the check on AIX only, although I had the feeling that we usually
this type of check regardless of the host (this is the case for
the ptrace checks, for instance).

-- 
Joel


  reply	other threads:[~2011-03-16  1:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16  0:17 Joel Brobecker
2011-03-16  2:30 ` Pedro Alves
2011-03-16  4:48   ` Joel Brobecker [this message]
2011-03-16 13:49     ` Pedro Alves
2011-03-16 13:58       ` Joel Brobecker
2011-03-16 15:02         ` Pedro Alves
2011-03-17 14:58         ` Joel Brobecker

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=20110316014023.GO31264@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@codesourcery.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