Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Andrew Cagney <cagney@gnu.org>
Cc: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>,
	gdb-patches@sources.redhat.com
Subject: Re: 6.1: Use cconfig.h instead of config.h in sim/common [resend]
Date: Mon, 10 May 2004 20:48:00 -0000	[thread overview]
Message-ID: <20040510203928.GA22067@nevyn.them.org> (raw)
In-Reply-To: <409FE4A0.3000504@gnu.org>

On Mon, May 10, 2004 at 04:22:56PM -0400, Andrew Cagney wrote:
> >On Tue, Apr 20, 2004 at 05:00:21PM +0200, Maciej W. Rozycki wrote:
> >
> >>>Hello,
> >>>
> >>> Despite:
> >>>
> >>> http://sources.redhat.com/ml/gdb-patches/2003-12/msg00057.html
> >>>
> >>>the following patch hasn't been applied.  What's wrong with it?
> >>>
> >>>2004-04-20  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
> >>>
> >>>	* callback.c: Include cconfig.h instead of config.h.
> >>>	* run.c: Likewise.
> >>>	* sim-basics.h: Likewise.
> >>>	* sim-load.c: Likewise.
> >>>	* syscall.c: Likewise.
> >
> >
> >Nothing, it just got forgotten.  I've checked in this.
> 
> Did the cross targets build?  I can't build powerpc as either a native 
> or cross.
> 
> /home/cygnus/cagney/GDB/src/sim/common/callback.c:26:21: cconfig.h: No 
> such file or directory
> In file included from /home/cygnus/cagney/GDB/src/sim/common/sim-fpu.c:47:
> /home/cygnus/cagney/GDB/src/sim/common/sim-basics.h:32:21: cconfig.h: No 
> such file or directory

This is specific to PPC.  It uses files from sim/common/, but doesn't
use Make-common.in.  I'm testing this patch.

Index: configure
===================================================================
RCS file: /cvs/src/src/sim/ppc/configure,v
retrieving revision 1.5
diff -u -p -r1.5 configure
--- configure	22 Jun 2003 16:48:10 -0000	1.5
+++ configure	10 May 2004 20:37:42 -0000
@@ -4675,7 +4675,7 @@ echo $ac_n "checking for common simulato
 echo "configure:4676: checking for common simulator directory fpu implementation" >&5
 if test -f "${srcdir}/../common/sim-fpu.c"; then
   echo "$ac_t""yes" 1>&6
-  sim_fpu_cflags="-DHAVE_COMMON_FPU -I${srcdir}/../common"
+  sim_fpu_cflags="-DHAVE_COMMON_FPU -I../common -I${srcdir}/../common"
   sim_fpu="sim-fpu.o"
 else
   echo "$ac_t""no" 1>&6
Index: configure.in
===================================================================
RCS file: /cvs/src/src/sim/ppc/configure.in,v
retrieving revision 1.4
diff -u -p -r1.4 configure.in
--- configure.in	22 Jun 2003 16:48:12 -0000	1.4
+++ configure.in	10 May 2004 20:37:42 -0000
@@ -700,7 +700,7 @@ fi
 AC_MSG_CHECKING(for common simulator directory fpu implementation)
 if test -f "${srcdir}/../common/sim-fpu.c"; then
   AC_MSG_RESULT(yes)
-  sim_fpu_cflags="-DHAVE_COMMON_FPU -I${srcdir}/../common"
+  sim_fpu_cflags="-DHAVE_COMMON_FPU -I../common -I${srcdir}/../common"
   sim_fpu="sim-fpu.o"
 else
   AC_MSG_RESULT(no)


-- 
Daniel Jacobowitz


      parent reply	other threads:[~2004-05-10 20:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-20 15:00 Maciej W. Rozycki
2004-05-10 16:48 ` Daniel Jacobowitz
2004-05-10 20:22   ` Andrew Cagney
2004-05-10 20:48     ` Daniel Jacobowitz
2004-05-10 20:48     ` Daniel Jacobowitz [this message]

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=20040510203928.GA22067@nevyn.them.org \
    --to=drow@false.org \
    --cc=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=macro@ds2.pg.gda.pl \
    /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