This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: frameworklet to assess the quality of debug information
On Tue, Jul 29, 2008 at 9:01 PM, Alexandre Oliva <aoliva@redhat.com> wrote:
> On Jul 29, 2008, "Richard Guenther" <richard.guenther@gmail.com> wrote:
>
>> why not pair the testcase with a gdb script directly?
>
> Mostly a matter of convenience. Writing code and adding "test this
> here, etc", and not having to adjust a testcase all over just because
> you have to add an #include feels so much better than the alternative.
> And then, having it all in a single file that uses shared
> infrastructure feels better than having to write one script per test,
> but maybe that's just me.
Ok, but maybe there's a trick to embed the gdb script in the source
like you can embed a Makefile in the source ...
Richard.