Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: brobecker@adacore.com
Cc: gdb-patches@sourceware.org
Subject: Re: GDB 7.6.90 available for testing
Date: Mon, 13 Jan 2014 17:33:00 -0000	[thread overview]
Message-ID: <834n577pnr.fsf@gnu.org> (raw)
In-Reply-To: <831u0ec2y6.fsf@gnu.org>

Ping!

> Date: Sat, 11 Jan 2014 10:55:45 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: gdb-patches@sourceware.org
> 
> > From: Joel Brobecker <brobecker@adacore.com>
> > Date: Wed,  8 Jan 2014 14:14:28 +0400 (RET)
> > 
> > I have just finished creating the gdb-7.6.90 pre-release.
> > It is available for download at the following location:
> > 
> >     ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-7.6.90.tar.bz2
> > 
> > A gzip'ed version is also available: gdb-7.6.90.tar.gz.
> > 
> > Please give it a test if you can and report any problems you might find.
> 
> The gdbserver part fails to build on MinGW:
> 
>   gcc -O2 -gdwarf-2 -g3 -D__USE_MINGW_ACCESS     -I. -I. -I./../common  -I./../regformats -I./../ -I./../../include  -I./../gnulib/import -Ibuild-gnulib-gdbserver/import -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral-Wno-char-subscripts -Werror -DGDBSERVER -c -o agent.o -MT agent.o -MMD -MP  -MF .deps/agent.Tpo ../common/agent.c
>   In file included from ./server.h:98,
> 		   from ../common/agent.c:21:
>   ./target.h:24:27: target/resume.h: No such file or directory
>   ./target.h:25:25: target/wait.h: No such file or directory
>   ./target.h:26:31: target/waitstatus.h: No such file or directory
>   In file included from ./server.h:98,
> 		   from ../common/agent.c:21:
>   ./target.h:43: error: field `kind' has incomplete type
>   ./target.h:120: warning: "struct target_waitstatus" declared inside parameter list
>   ./target.h:120: warning: its scope is only this definition or declaration, which is probably not what you want
>   ./target.h:512: warning: "struct target_waitstatus" declared inside parameter list
>   In file included from ./server.h:100,
> 		   from ../common/agent.c:21:
>   ./gdbthread.h:34: error: field `last_resume_kind' has incomplete type
>   ./gdbthread.h:37: error: field `last_status' has incomplete type
>   ../common/agent.c: In function `agent_run_command':
>   ../common/agent.c:240: error: `resume_continue' undeclared (first use in this function)
>   ../common/agent.c:240: error: (Each undeclared identifier is reported only once
>   ../common/agent.c:240: error: for each function it appears in.)
>   ../common/agent.c:278: error: storage size of 'status' isn't known
>   ../common/agent.c:287: error: `resume_stop' undeclared (first use in this function)
>   ../common/agent.c:278: warning: unused variable `status'
>   Makefile:516: recipe for target `agent.o' failed
>   make[4]: *** [agent.o] Error 1
>   make[4]: Leaving directory `/d/gnu/gdb-7.6.90/gdb/gdbserver'
>   Makefile:1323: recipe for target `subdir_do' failed
>   make[3]: *** [subdir_do] Error 1
> 
> This is because of the "-I./../" part on the GCC command line.  My
> version of GCC doesn't like the trailing slash.
> 
> 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)?
> 
> --- gdb/gdbserver/Makefile.in~0	2014-01-08 11:23:36.000000000 +0200
> +++ gdb/gdbserver/Makefile.in	2014-01-11 10:49:53.774500000 +0200
> @@ -106,7 +106,7 @@
>  # e.g.: "target/wait.h".
>  #
>  INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \
> -	-I$(srcdir)/../regformats -I$(srcdir)/../ -I$(INCLUDE_DIR) \
> +	-I$(srcdir)/../regformats -I$(srcdir)/.. -I$(INCLUDE_DIR) \
>  	$(INCGNU)
>  
>  # M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS
> 


  reply	other threads:[~2014-01-13 17:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08 10:14 Joel Brobecker
2014-01-08 18:18 ` Reini Urban
2014-01-09  2:46   ` Joel Brobecker
2014-01-09 17:07   ` Tom Tromey
2014-01-10  4:25     ` Joel Brobecker
2014-01-10  1:52   ` Yao Qi
2014-01-09 18:27 ` Regressions on s390x RHEL-6.5 (was: Re: GDB 7.6.90 available for testing) Sergio Durigan Junior
2014-01-11  8:56 ` GDB 7.6.90 available for testing Eli Zaretskii
2014-01-13 17:33   ` Eli Zaretskii [this message]
2014-01-13 17:51   ` Pedro Alves
2014-01-13 18:28     ` Eli Zaretskii
2014-01-13 18:44       ` Pedro Alves
2014-01-13 18:50         ` Eli Zaretskii
2014-01-13 19:15           ` Eli Zaretskii
2014-01-13 19:53             ` Pedro Alves
2014-01-13 20:33               ` Eli Zaretskii
2014-01-15 16:33               ` Eli Zaretskii
2014-01-13 10:29 ` Ricard Wanderlof
2014-01-13 10:37   ` Joel Brobecker

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=834n577pnr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@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