This is the mail archive of the
mailing list for the GDB project.
Re: [commit] cc-with-index.sh
On Tue, Oct 5, 2010 at 12:17 PM, Daniel Jacobowitz <email@example.com> wrote:
> On Mon, Oct 04, 2010 at 09:28:27PM -0700, Doug Evans wrote:
>> I need a way to run the testsuite with index files,
>> so I wrote this script to help.
>> Tom, feel free to replace it with something else.
>> 2010-10-04 ?Doug Evans ?<firstname.lastname@example.org>
>> ? ? ? * cc-with-index.sh: New file.
> Wouldn't it be easier to do this in gdb_compile? ?There you've got
> most of the information your script has to steal from the command
Sure, one *could* do it that way, and it does solve the problem of
knowing when one is doing a link.
But cc-with-index.sh gives me something I can trivially invoke by hand
too, even easier than gdb-add-index.sh.
And to run the testsuite with the index I'm going to have to pass some
extra parameter to runtest, and it feels more intuitive to provide a