public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug build/12116] AIX 6.1 declares getthrds() in <procinfo.h>
Date: Thu, 17 Mar 2011 13:19:00 -0000	[thread overview]
Message-ID: <bug-12116-4717-1YZSvuJO8a@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-12116-4717@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=12116

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-03-17 13:19:13 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    brobecke@sourceware.org    2011-03-17 13:19:10

Modified files:
    gdb            : ChangeLog aix-thread.c config.in configure 
                     configure.ac 

Log message:
    Add 'getthrds' declaration check in configure for AIX

    On newer versions of AIX (6.x and later), this function is actually
    declared in procinfo.h, thus causing a compilation warning when we
    re-declare it ourselves. This patch adds a configure check for that
    function allowing us to declare the function only if the declaration
    isn't already present in one of procinfo system header.

    gdb/ChangeLog:

    PR gdb/12116:
    * configure.ac: Add getthrds declaration check.
    * configure, config.in: Regenerate.
    * aix-thread.c (getthrds): Declare only if not already declared
    in procinfo.h.  More declaration out of get_signaled_thread to
    global scope.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12825&r2=1.12826
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/aix-thread.c.diff?cvsroot=src&r1=1.75&r2=1.76
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/config.in.diff?cvsroot=src&r1=1.124&r2=1.125
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/configure.diff?cvsroot=src&r1=1.328&r2=1.329
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/configure.ac.diff?cvsroot=src&r1=1.143&r2=1.144

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


  parent reply	other threads:[~2011-03-17 13:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13 13:43 [Bug build/12116] New: " haubi at gentoo dot org
2011-03-13 13:12 ` [Bug build/12116] " bruno at clisp dot org
2011-03-15 18:05 ` brobecker at gnat dot com
2011-03-15 18:06 ` brobecker at gnat dot com
2011-03-15 20:29 ` haubi at gentoo dot org
2011-03-17 13:19 ` cvs-commit at gcc dot gnu.org [this message]
2011-03-17 13:23 ` brobecker at gnat dot com
2011-10-24 17:38 ` pedzsan at gmail dot com
2012-12-05 11:25 ` brobecker at gnat dot com
2012-12-05 14:53 ` pedzsan at gmail dot com
2012-12-05 14:56 ` haubi at gentoo dot org
2012-12-05 15:28 ` brobecker at gnat dot com
2012-12-06  5:07 ` brobecker at gnat dot com

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=bug-12116-4717-1YZSvuJO8a@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).