lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: [Mingw-users] GDB and backtrace
- Date: Thu, 03 Jul 2008 13:59:49 +0200
- From: Manuel Martín <mmartin@xxxxxxx>
- Subject: ***BOGO*** Re: [Mingw-users] GDB and backtrace
More info on my problem.
'Stepping' on gdb I get into a dtor. This is the code:
pENu::~pENu()
{
std::list <lQ*>::iterator iterL;
iterL = aLiQu->begin();
while ( iterL != aLiQu->end() )
{ delete (*iterL);
iterL = aLiQu->begin();
}
}
gdb stops at 'pENu::~pENu()' line and shows lines like these:
> step
_Unwind_SjLj_Register (fc=0x22fa18) at
../../gcc-4.2.1-2-src/gcc/unwind-sjlj.c:126
126 in ../../gcc-4.2.1-2-src/gcc/unwind-sjlj.c
Current language: auto; currently c
>>>>>>cb_gdb:
> step
128 in ../../gcc-4.2.1-2-src/gcc/unwind-sjlj.c
>>>>>>cb_gdb:
> step
131 in ../../gcc-4.2.1-2-src/gcc/unwind-sjlj.c
>>>>>>cb_gdb:
> step
133 in ../../gcc-4.2.1-2-src/gcc/unwind-sjlj.c
>>>>>>cb_gdb:
> step
595 ../../gcc-4.2.1-2-src/gcc/gthr-win32.h: No such file or directory.
in ../../gcc-4.2.1-2-src/gcc/gthr-win32.h
>>>>>>cb_gdb:
> step
597 in ../../gcc-4.2.1-2-src/gcc/gthr-win32.h
>>>>>>cb_gdb:
> step
595 in ../../gcc-4.2.1-2-src/gcc/gthr-win32.h
>>>>>>cb_gdb:
> step
597 in ../../gcc-4.2.1-2-src/gcc/gthr-win32.h
>>>>>>cb_gdb:
> step
599 in ../../gcc-4.2.1-2-src/gcc/gthr-win32.h
>>>>>>cb_gdb:
> step
133 ../../gcc-4.2.1-2-src/gcc/unwind-sjlj.c: No such file or directory.
in ../../gcc-4.2.1-2-src/gcc/unwind-sjlj.c
>>>>>>cb_gdb:
> step
599 ../../gcc-4.2.1-2-src/gcc/gthr-win32.h: No such file or directory.
in ../../gcc-4.2.1-2-src/gcc/gthr-win32.h
>>>>>>cb_gdb:
> step
607 in ../../gcc-4.2.1-2-src/gcc/gthr-win32.h
>>>>>>cb_gdb:
> step
142 ../../gcc-4.2.1-2-src/gcc/unwind-sjlj.c: No such file or directory.
in ../../gcc-4.2.1-2-src/gcc/unwind-sjlj.c
Is gcc-4.2.1-2 compiled with -g option?
And 'bt' shows functions I _do_ know can't be called at that point.
And 'info locals' sometimes says "No locals" while really they are:
std::list <lQ*>::iterator iterL;
I'm getting mad.
TIA
Manolo
-------------------------------------------------------------------------
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