This is the mail archive of the gdb-patches@sourceware.org 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 7.6.90 available for testing


On 01/11/2014 08:55 AM, Eli Zaretskii wrote:

> 
> This is because of the "-I./../" part on the GCC command line.  My
> version of GCC doesn't like the trailing slash.

Guessing that's an old gcc.  This seems to have been fixed in 2007:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22133

> That slash comes from this snippet in gdbserver/Makefile.in:
> 
>   INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \
> 	  -I$(srcdir)/../regformats -I$(srcdir)/../ -I$(INCLUDE_DIR) \
> 	  $(INCGNU)
> 
> If I remove the trailing slash there, the build runs to completion.
> 
> OK to push the following (with a suitable log entry)?

Sure.

Thanks,
-- 
Pedro Alves


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