Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: gdb-patches@sourceware.org, toolchain-devel@blackfin.uclinux.org
Subject: Re: [PATCH/RFC] gdb: tests: add support for testing FLAT toolchains
Date: Fri, 01 Jul 2011 16:24:00 -0000	[thread overview]
Message-ID: <201107011724.39819.pedro@codesourcery.com> (raw)
In-Reply-To: <BANLkTinFh_dMpsyXZUMt6iRxRJs95QNq4w@mail.gmail.com>

On Friday 01 July 2011 16:55:02, Mike Frysinger wrote:

> i dont need the logic to be in the core gdb testsuite, but i think it
> does have to be in the gdb testsuite somewhere.  i dont think making
> all board porters do the same thing over and over again is the right
> path.  after all, this is going to be the same issue across all
> toolchains that target this binary format.  which is what we just
> found out since i doubt the code you have is for Blackfin processors
> :).

:-)  Yes, agreed.

> it seems like the shlib/exec hooks you mention should be sufficient.
> do you know why in your setup you still need to bang on gdb_compile ?

Hmm.  The gdb_compile overriding was added much earlier on our 
board files than the new hooks.  The hooks were added recently,
to fix the gdb.base/reread.exp test on flt targets.  It's sole
purpose is to the the same renaming dance you have.
That is, IIUC, if we don't do the gdb_compile overriding + .flt
renaming, as is, tests will still try to load the FLAT file, instead
of the .gdb file.  exec_symbol_file/exec_target_file are only used
in gdb_rename_execfile/gdb_touch_execfile presently.  :-/
Maybe there's some central places, like gdb_load, where we
should be using exec_symbol_file on?  Not sure what else (if
anything) would break; some tests themselves might need some
output adjustment.

-- 
Pedro Alves


      reply	other threads:[~2011-07-01 16:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-18  7:10 [PATCH 02/16] " Mike Frysinger
2010-03-18  7:13 ` Mike Frysinger
2010-03-18 13:38 ` Daniel Jacobowitz
2010-03-19  1:26   ` Mike Frysinger
2011-07-01  0:24     ` [PATCH/RFC] " Mike Frysinger
2011-07-01  9:17       ` Pedro Alves
2011-07-01 14:28         ` Mike Frysinger
2011-07-01 15:16           ` Pedro Alves
2011-07-01 15:55             ` Mike Frysinger
2011-07-01 16:24               ` Pedro Alves [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=201107011724.39819.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=toolchain-devel@blackfin.uclinux.org \
    --cc=vapier@gentoo.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