Re: GDB 7.6.90 available for testing

Pedro Alves
2014-01-13T17:51:41Z

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