This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFC] gdb: tests: add support for testing FLAT toolchains


On Fri, Jul 1, 2011 at 05:16, Pedro Alves wrote:
> On Friday 01 July 2011 01:24:41, Mike Frysinger wrote:
>> From: Jie Zhang <jie@codesourcery.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.
>
> Sounds a lot like the recently added
> lib/gdb.exp:exec_target_file/exec_symbol_file hooks? ÂWe added them
> to solve the exact same problem. ÂWe then have this in our board file
> for uclinux/flat toolchains:
>
> Â Â Â proc exec_target_file { binfile } {
> Â Â Â Â Â return ${binfile}.flt
> Â Â Â }

probably ... this code does date back years ago, and when i poked
things again one year ago, it still needed to be done.  i'll take a
look at what you refer to now though.
-mike


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]