This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: RFC: [patch] launching compiler through a wrapper


* 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 ...".

Cheers,
Ralf


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