src/gdb ChangeLog aix-thread.c config.in confi ...

brobecke@sourceware.org brobecke@sourceware.org
Thu Mar 17 13:19:00 GMT 2011


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



More information about the Gdb-cvs mailing list