This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb/409: build failures for targets that should build with -Werror


The following reply was made to PR gdb/409; it has been noted by GNATS.

From: Andrew Cagney <ac131313@cygnus.com>
To: rearnsha@arm.com, nobody@sources.redhat.com,
	gdb-gnats@sources.redhat.com
Cc:  
Subject: Re: gdb/409: build failures for targets that should build with -Werror
Date: Thu, 14 Mar 2002 01:01:35 -0500

 http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=409
 
 > Make sure the prototype is in scope (either by defining __USE_GNU)
 > or by adding one ourselves.
 
 One of the things I've had drilled into me (so long ago I don't remember 
 who) is that trying to provide prototypes for system files is generally 
 bad.  See basename() in liberty.
 
 I suspect the real bug is in the gdb_realpath() code.  It should 
 strongly prefer realpath() over canonicalize_file_name().  The latter is 
 (as you noticed) GNU centric - I think it comes from the HURD.
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]