From: Daniel Jacobowitz <dan@codesourcery.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: gdb-patches@sourceware.org, Jie Zhang <jie.zhang@analog.com>
Subject: Re: [PATCH 02/16] gdb: tests: add support for testing FLAT toolchains
Date: Thu, 18 Mar 2010 13:38:00 -0000 [thread overview]
Message-ID: <20100318133817.GA8131@caradoc.them.org> (raw)
In-Reply-To: <1268896240-4188-1-git-send-email-vapier@gentoo.org>
On Thu, Mar 18, 2010 at 03:10:40AM -0400, Mike Frysinger wrote:
> From: Jie Zhang <jie.zhang@analog.com>
>
> FLAT toolchains output a FLAT binary for the named output and create
> another file with a .gdb suffix that is used for debugging. So when
> testing a FLAT toolchain and we need to load up a file, use the .gdb.
FWIW, in our board files, we found it simpler to swap the two. So
we have a gdb_compile which generates an elf file as foo, and a flat
file as foo.flt. Nothing in the GDB testsuite except for the board
file itself needs to access the FLT file.
That's not the only way to do it, we can accomodate both. But I'm not
thrilled with having binfmt_flat references scattered around random
tests. In lib/ maybe, but not everywhere that uses gdb_file_cmd...
Or in the main definition of gdb_compile?
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2010-03-18 13:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-18 7:10 Mike Frysinger
2010-03-18 7:13 ` Mike Frysinger
2010-03-18 13:38 ` Daniel Jacobowitz [this message]
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
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=20100318133817.GA8131@caradoc.them.org \
--to=dan@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=jie.zhang@analog.com \
--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