public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: binutils@sourceware.org
Cc: "Maciej W. Rozycki" <macro@codesourcery.com>,
	Alan Modra <amodra@gmail.com>, Cary Coutant <ccoutant@google.com>,
	Tom Tromey <tromey@redhat.com>, Nick Clifton <nickc@redhat.com>,
	gdb@sourceware.org, gdb-patches@sourceware.org
Subject: Re: [PATCH] MIPS/sim: Fix build breakage
Date: Sat, 19 May 2012 03:49:00 -0000	[thread overview]
Message-ID: <201205182349.45580.vapier@gentoo.org> (raw)
In-Reply-To: <alpine.DEB.1.10.1205181507180.11227@tp.orcam.me.uk>

[-- Attachment #1: Type: Text/Plain, Size: 2202 bytes --]

On Friday 18 May 2012 10:26:35 Maciej W. Rozycki wrote:
>  This fixes the build for me, I can connect to the MIPS simulator and
> single-step, examine registers, etc., so it seems to work, but I haven't
> verified it further, I am not fully set up to run GNU sim testing right
> now.  Obviously other targets may require further tweaks.

Nick posted a patch to fix things.  are you guys fighting over who gets there 
first ? :)

>  It looks like some generated files (i.e. ppc and the top-level) were not
> rebuilt at the last check-in time too, hence differences beyond those
> one'd expect from this change alone.

the ppc/ subdir doesn't use common/, so there's no need to regen when it 
changes.  the changes you show here are just updated autotools, and ones i 
haven't bothered committing.  you may if you like, just providing info.

maybe it's me, but i also don't typically include the regenerated output in 
the diffs posted to the list since they're generally noise.  would rather focus 
on the things that the dev is changing.

>        * gentmap.c (gen_targ_map_c): Produce "sim-main.h" inclusion.

how come ?

> --- gdb-fsf-trunk-quilt.orig/sim/common/acinclude.m4
> +++ gdb-fsf-trunk-quilt/sim/common/acinclude.m4
> @@ -28,6 +28,9 @@ AC_DEFUN([SIM_AC_COMMON],
>  AC_REQUIRE([AC_PROG_CC])
>  # autoconf.info says this should be called right after AC_INIT.
>  AC_CONFIG_HEADER(ifelse([$1],,config.h,[$1]):config.in)
> +PACKAGE=sim
> +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package.])
> +AC_SUBST(PACKAGE)
>  AC_CANONICAL_SYSTEM
>  AC_USE_SYSTEM_EXTENSIONS
>  AC_ARG_PROGRAM

i'd relocate this new code further down in the SIM_AC_COMMON definition.  maybe 
above the "# Dependency checking." line.

> --- gdb-fsf-trunk-quilt.orig/sim/igen/configure.ac
> +++ gdb-fsf-trunk-quilt/sim/igen/configure.ac
> @@ -3,6 +3,10 @@ AC_PREREQ(2.59)dnl
>  AC_INIT(table.h)
>  sinclude(../common/acinclude.m4)
> 
> +PACKAGE=sim
> +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package.])
> +AC_SUBST(PACKAGE)
> +
>  AC_PROG_INSTALL
>  AC_PROG_CC

hrm, we should prob look at migrating igen more over to the common m4 code
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2012-05-19  3:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87k40alojr.fsf@fleche.redhat.com>
     [not found] ` <CAHACq4qUY_V1O+H7Z8f0TUXkkV-+0Hwb3fYU+4BdS31x53LwqA@mail.gmail.com>
     [not found]   ` <20120518020107.GN27540@bubble.grove.modra.org>
     [not found]     ` <20120518020534.GO27540@bubble.grove.modra.org>
     [not found]       ` <20120518053358.GA29726@bubble.grove.modra.org>
2012-05-18 13:12         ` another " Maciej W. Rozycki
2012-05-18 14:27           ` [PATCH] MIPS/sim: Fix " Maciej W. Rozycki
2012-05-19  3:49             ` Mike Frysinger [this message]
2012-05-22  0:11               ` Maciej W. Rozycki
2012-05-22  1:51                 ` Mike Frysinger
2012-05-22 14:26                   ` Maciej W. Rozycki

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=201205182349.45580.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=ccoutant@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=gdb@sourceware.org \
    --cc=macro@codesourcery.com \
    --cc=nickc@redhat.com \
    --cc=tromey@redhat.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).