Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
Subject: Re: [RFA] Testsuite centralize -DSYMBOL_PREFIX uses
Date: Tue, 24 May 2011 08:51:00 -0000	[thread overview]
Message-ID: <201105240951.07933.pedro@codesourcery.com> (raw)
In-Reply-To: <005001cc19e6$fe446750$facd35f0$@muller@ics-cnrs.unistra.fr>

On Tuesday 24 May 2011 08:48:38, Pierre Muller wrote:

> +# gdb_target_symbol_prefix_flags returns a string that can be added
> +# to gdb_compile options to define SYMBOL_PREFIX macro value
> +# symbol_prefix_flags returns a string that can be added
> +# for targets that use underscore as symbol prefix.

> +# The list of targets is incomplete and should be enhanced as
> +# reports about missing targets come in.

This sentence is useless, IMO.

> +# TODO: find out automatically if the target needs this.
> +
> +proc gdb_target_symbol_prefix_flags {} {
> +if { [istarget "*-*-cygwin*"] || [istarget "i?86-*-mingw*"]

Missing indentation.

> +     || [istarget "*-*-msdosdjgpp*"] || [istarget "*-*-go32*"]
> +     || [istarget "arm*-*-wince*"] || [istarget "arm*-*-mingwce*"]} {
> +	return "additional_flags=-DSYMBOL_PREFIX=\"_\""

ARM Windows CE is not underscored.  Is DJGPP/GO32?  bfd/config.bfd
appears to indicate it isn't.  None of the places you touched listed
wince or djgpp, afaics.

> +    } else {
> +	return ""
> +    }
> +}
> +

-- 
Pedro Alves


  reply	other threads:[~2011-05-24  8:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-24  7:49 Pierre Muller
2011-05-24  8:51 ` Pedro Alves [this message]
2011-05-24 11:43   ` Pierre Muller
2011-05-24 11:54     ` Pedro Alves
2011-05-24 12:02       ` Pierre Muller

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=201105240951.07933.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pierre.muller@ics-cnrs.unistra.fr \
    /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