lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

***BOGO*** Re: [Mingw-users] GDB and backtrace



Manuel Martín wrote:
> Hi
>
> I'm using gcc 4.2.1-sjlj and gdb 6.8 both from Code::Blocks.
> I set a breakpoint and gdb stops there. Ok. Now I want to see
> the call stack. Code::Blocks sends a 'bt 30' command and all
> I can see is two lines:
>
> #0  veriImpor::AnaliDatos (this=0x22efe8) at
> D:\MisProgs\crvar\codigo\tecuveri.cpp:773
> #1  0x00428534 in veriImpor::AnaliDatos (this=0x3bc0dd0) at
> D:\MisProgs\crvar\codigo\tecuveri.cpp:769
> Backtrace stopped: frame did not save the PC
>
> where I expected much more calls.
>
> Am I doing something wrong? lacking something?
>
> Thanks in advance
> Manolo
>

Hi,
just a shot in the dark, did you compile the code with 
"-fomit-frame-pointer"?

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users