RFC: [patch] launching compiler through a wrapper
Andrew Pinski
pinskia@gmail.com
Fri Mar 6 18:32:00 GMT 2009
On Fri, Mar 6, 2009 at 10:31 AM, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
> * Alexandre Oliva wrote on Fri, Mar 06, 2009 at 07:29:19PM CET:
>> On Mar 6, 2009, Thomas Quinot <quinot@adacore.com> wrote:
>>
>> > I would like to propose a new feature of the gcc driver to allow
>> > launching the underlying compiler in a debugger session.
> [...]
>> I like this idea.
>
> Me too. But methinks there already exists such a feature. Quoting
> gcc.info:
>
> `-wrapper'
> Invoke all subcommands under a wrapper program. It takes a single
> comma separated list as an argument, which will be used to invoke
> the wrapper:
>
> gcc -c t.c -wrapper gdb,--args
>
> This will invoke all subprograms of gcc under "gdb -args", thus
> cc1 invocation will be "gdb -args cc1 ...".
Yes this was added by http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00395.html .
Thanks,
Andrew Pinski
More information about the Gcc-patches
mailing list