Re: Instrument gcc

2009-02-24 Thread Vincent R.
On Tue, 24 Feb 2009 18:31:07 +, Dave Korn wrote: > Laurent GUERBY wrote: >> On Tue, 2009-02-24 at 17:39 +0100, Vincent R. wrote: >>> And what if I want to debug a cross compiler, there is no cc1 or cc1plus >>> with the toolchain I use: >> >> Try >> >> arm-mingw32ce-gcc -v -c myfile.c >> >>

Re: Instrument gcc

2009-02-24 Thread Dave Korn
Laurent GUERBY wrote: > On Tue, 2009-02-24 at 17:39 +0100, Vincent R. wrote: >> And what if I want to debug a cross compiler, there is no cc1 or cc1plus >> with the toolchain I use: > > Try > > arm-mingw32ce-gcc -v -c myfile.c > > it will tell you where is cc1 and the real commands launched > b

Re: Instrument gcc

2009-02-24 Thread Laurent GUERBY
On Tue, 2009-02-24 at 17:39 +0100, Vincent R. wrote: > And what if I want to debug a cross compiler, there is no cc1 or cc1plus > with the toolchain I use: Try arm-mingw32ce-gcc -v -c myfile.c it will tell you where is cc1 and the real commands launched by the driver. The xxx-gcc binary is not

Re: Instrument gcc

2009-02-24 Thread Vincent R.
On Tue, 24 Feb 2009 16:43:08 +0100, Richard Guenther wrote: > On Tue, Feb 24, 2009 at 4:38 PM, Vincent R. > wrote: >> Hi, >> >> even if I am simple mortal I would like to understand or at least follow >> what is going on with gcc. >> Generally when I run gdb and try to breakpoint inside a functio

Re: Instrument gcc

2009-02-24 Thread Dave Korn
Richard Guenther wrote: > On Tue, Feb 24, 2009 at 4:38 PM, Vincent R. wrote: >> Let's say for instance I want to breakpoint the function >> init_exception_processing located in gcc/gcc/cp >> and related to c++ exceptions >> >> This GDB was configured as "i486-linux-gnu"... >> (gdb) b init_excepti

RE: Instrument gcc

2009-02-24 Thread Bingfeng Mei
gcc@gcc.gnu.org > Subject: Instrument gcc > > Hi, > > even if I am simple mortal I would like to understand or at > least follow > what is going on with gcc. > Generally when I run gdb and try to breakpoint inside a > function I get a > undefined symbol or something like t

Re: Instrument gcc

2009-02-24 Thread Richard Guenther
On Tue, Feb 24, 2009 at 4:38 PM, Vincent R. wrote: > Hi, > > even if I am simple mortal I would like to understand or at least follow > what is going on with gcc. > Generally when I run gdb and try to breakpoint inside a function I get a > undefined symbol or something like that. > I suppose this

Instrument gcc

2009-02-24 Thread Vincent R.
Hi, even if I am simple mortal I would like to understand or at least follow what is going on with gcc. Generally when I run gdb and try to breakpoint inside a function I get a undefined symbol or something like that. I suppose this is because gcc is not a simple static exe but depends on other bi