Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: jvmorren on April 08, 2015, 06:32:18 pm

Title: Trouble with Code::Blocks debugging
Post by: jvmorren on April 08, 2015, 06:32:18 pm
I am trying to use the debugger on Code::Blocks 13.12 but it is not letting me put information in.  Whenever I reach a line with cin, the debugger won't let me input anything.  If I press F7 again, a whole series of error messages start to appear.
Title: Re: Trouble with Code::Blocks debugging
Post by: oBFusCATed on April 08, 2015, 08:55:21 pm
What are the error messages?
What OS are you using?
Title: Re: Trouble with Code::Blocks debugging
Post by: jvmorren on April 08, 2015, 10:00:56 pm
I am using Windows 8.1.
The error messages come up in blue and beige boxes in the bottom right hand corner. The first one says:
"Cannot open file:" and gives an address;
"Cannot open file:" Gives a different address;

I am an absolute beginner, and haven't made any drastic changes to the IDE.
Title: Re: Trouble with Code::Blocks debugging
Post by: oBFusCATed on April 08, 2015, 11:04:07 pm
Try a nightly and if the problem happens continues to happen post the full debugger log there.
Title: Re: Trouble with Code::Blocks debugging
Post by: jvmorren on April 09, 2015, 12:58:22 am
Yes, the nightly did not work.  Here is the log:
Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\
Adding source dir: C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\
Adding file: C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\bin\Debug\Debugginb Bug #1.exe
Changing directory to: C:/Users/Jeremy/DOCUME~1/PROGRA~1/C__~1/DEBUGG~1/.
Set variable: PATH=.;C:\Program Files (x86)\CodeBlocks\MinGW\bin;C:\Program Files (x86)\CodeBlocks\MinGW;C:\Program Files (x86)\Lenovo\FusionEngine;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Common Files\LENOVO\easyplussdk\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit
Starting debugger: C:\Program Files (x86)\CodeBlocks\MINGW\bin\gdb.exe -nx -fullname -quiet  -args C:/Users/Jeremy/DOCUME~1/PROGRA~1/C__~1/DEBUGG~1/bin/Debug/DEBUGG~1.EXE
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.5
Child process PID: 7468
At C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:19
At C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:20
In std::istream::operator>>(double&) () ()
In std::istream& std::istream::_M_extract<double>(double&) () ()
#1  0x004013f5 in main () at C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:20
C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:20:341:beg:0x4013f5
At C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:20
Cannot open file: ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c
At ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:127
Cannot open file: ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c
At ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:129
Cannot open file: ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c
At ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:132
Cannot open file: ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c
At ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:134
In TlsGetValue@4 () ()
611   ./gthr-default.h: No such file or directory.
#1  0x00416d0a in __gthread_getspecific (__key=1) at ./gthr-default.h:611
In KERNEL32!GetDynamicTimeZoneInformation () (C:\windows\SysWOW64\kernel32.dll)
#1  0x00416d0a in __gthread_getspecific (__key=1) at ./gthr-default.h:611
611   in ./gthr-default.h
In TlsGetValue () (C:\windows\SysWOW64\KernelBase.dll)
#1  0x00416d0a in __gthread_getspecific (__key=1) at ./gthr-default.h:611
611   in ./gthr-default.h
Cannot open file: ./gthr-default.h
At ./gthr-default.h:613
In SetLastError@4 () ()
#1  0x00416d15 in __gthread_getspecific (__key=<optimized out>) at ./gthr-default.h:613
613   in ./gthr-default.h
In KERNEL32!BasepIsProcessAllowed () (C:\windows\SysWOW64\kernel32.dll)
#1  0x00416d15 in __gthread_getspecific (__key=<optimized out>) at ./gthr-default.h:613
613   in ./gthr-default.h
In ?? () ()
In  ()
Cannot find bounds of current function
Cannot find bounds of current function

The last line will repeat every time I press F7
Title: Re: Trouble with Code::Blocks debugging
Post by: oBFusCATed on April 09, 2015, 08:41:38 am
This is not the full log. Go to the settings for debuggers and enable full logging.
And please use code tags. Also please post the log in the other topic you've posted too.
Title: Re: Trouble with Code::Blocks debugging
Post by: jvmorren on April 09, 2015, 02:43:20 pm
Sorry, I am really new!

Code
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\
Adding source dir: C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\
Adding file: C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\bin\Debug\Debugginb Bug #1.exe
Changing directory to: C:/Users/Jeremy/DOCUME~1/PROGRA~1/C__~1/DEBUGG~1/.
Set variable: PATH=.;C:\TDM-GCC-32\bin;C:\TDM-GCC-32;C:\Program Files (x86)\Lenovo\FusionEngine;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Common Files\LENOVO\easyplussdk\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit

[debug]Command-line: C:\Program Files (x86)\CodeBlocks\MINGW\bin\gdb.exe -nx -fullname  -quiet  -args C:/Users/Jeremy/DOCUME~1/PROGRA~1/C__~1/DEBUGG~1/bin/Debug/DEBUGG~1.EXE
[debug]Working dir : C:\Users\Jeremy\DOCUME~1\PROGRA~1\C__~1\DEBUGG~1

Starting debugger: C:\Program Files (x86)\CodeBlocks\MINGW\bin\gdb.exe -nx -fullname  -quiet  -args C:/Users/Jeremy/DOCUME~1/PROGRA~1/C__~1/DEBUGG~1/bin/Debug/DEBUGG~1.EXE
done

[debug]> set prompt >>>>>>cb_gdb:

Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints

[debug]Reading symbols from C:\Users\Jeremy\DOCUME~1\PROGRA~1\C__~1\DEBUGG~1\bin\Debug\DEBUGG~1.EXE...done.
[debug](gdb) >>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb (GDB) 7.5
[debug]Copyright (C) 2012 Free Software Foundation, Inc.
[debug]License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[debug]This is free software: you are free to change and redistribute it.
[debug]There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
[debug]and "show warranty" for details.
[debug]This GDB was configured as "i686-pc-mingw32".
[debug]For bug reporting instructions, please see:
[debug]<http://www.gnu.org/software/gdb/bugs/>.
[debug]>>>>>>cb_gdb:
[debug]> set confirm off

Debugger name and version: GNU gdb (GDB) 7.5

[debug]>>>>>>cb_gdb:
[debug]> set width 0
[debug]>>>>>>cb_gdb:
[debug]> set height 0
[debug]>>>>>>cb_gdb:
[debug]> set breakpoint pending on
[debug]>>>>>>cb_gdb:
[debug]> set print asm-demangle on
[debug]>>>>>>cb_gdb:
[debug]> set unwindonsignal on
[debug]>>>>>>cb_gdb:
[debug]> set print elements 0
[debug]>>>>>>cb_gdb:
[debug]> set new-console on
[debug]>>>>>>cb_gdb:
[debug]> set disassembly-flavor att
[debug]>>>>>>cb_gdb:
[debug]> source C:\Program Files (x86)\CodeBlocks\share\codeblocks/scripts/stl-views-1.0.3.gdb
[debug]>>>>>>cb_gdb:
[debug]> directory C:/Users/Jeremy/DOCUME~1/PROGRA~1/C__~1/DEBUGG~1/
[debug]Source directories searched: C:/Users/Jeremy/DOCUME~1/PROGRA~1/C__~1/DEBUGG~1;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> break "C:/Users/Jeremy/Documents/Programming/C++/Debugginb Bug #1/main.cpp:16"
[debug]Breakpoint 1 at 0x4013ca: file C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp, line 16.
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]Starting program: C:\Users\Jeremy\DOCUME~1\PROGRA~1\C__~1\DEBUGG~1\bin\Debug\DEBUGG~1.EXE

Child process PID: 5788

[debug][New Thread 5788.0x1680]
[debug]Breakpoint 1, main () at C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:19
[debug]C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:19:308:beg:0x4013ca
[debug]>>>>>>cb_gdb:

At C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:19

[debug]> info locals
[debug]base_val = 7.392408938139541e+264
[debug]rate = 5.6595430699783754e-216
[debug]years = 2686924
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No arguments.
[debug]>>>>>>cb_gdb:
[debug]> next
[debug]C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:20:341:beg:0x4013e5
[debug]>>>>>>cb_gdb:

At C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:20

[debug]> info locals
[debug]base_val = 7.392408938139541e+264
[debug]rate = 5.6595430699783754e-216
[debug]years = 2686924
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No arguments.
[debug]>>>>>>cb_gdb:
[debug]> next
[debug]0x00446a7c in std::istream::operator>>(double&) ()
[debug]>>>>>>cb_gdb:

In std::istream::operator>>(double&) () ()

[debug]> info locals
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> bt 30
[debug]#0  0x00446a7c in std::istream::operator>>(double&) ()
[debug]#1  0x77759b97 in ?? ()
[debug]#2  0x1e0019b8 in ?? ()
[debug]#3  0x15ff6400 in ?? ()
[debug]#4  0x000000c0 in ?? ()
[debug]#5  0x900014c2 in ?? ()
[debug]#6  0x1a001ab8 in ?? ()
[debug]#7  0x15ff6400 in ?? ()
[debug]#8  0x000000c0 in ?? ()
[debug]#9  0x900024c2 in ?? ()
[debug]#10 0x00001bb8 in ?? ()
[debug]#11 0x15ff6400 in ?? ()
[debug]#12 0x000000c0 in ?? ()
[debug]#13 0x900010c2 in ?? ()
[debug]#14 0x00001cb8 in ?? ()
[debug]#15 0x15ff6400 in ?? ()
[debug]#16 0x000000c0 in ?? ()
[debug]#17 0x90001cc2 in ?? ()
[debug]#18 0x00001db8 in ?? ()
[debug]#19 0x15ff6400 in ?? ()
[debug]#20 0x000000c0 in ?? ()
[debug]#21 0x900010c2 in ?? ()
[debug]#22 0x07001eb8 in ?? ()
[debug]#23 0x15ff6400 in ?? ()
[debug]#24 0x000000c0 in ?? ()
[debug]#25 0x900008c2 in ?? ()
[debug]#26 0x07001fb8 in ?? ()
[debug]#27 0x15ff6400 in ?? ()
[debug]#28 0x000000c0 in ?? ()
[debug]#29 0x900008c2 in ?? ()
[debug](More stack frames follow...)
[debug]>>>>>>cb_gdb:
[debug]> next
[debug]Single stepping until exit from function _ZNSirsERd,
[debug]which has no line number information.
[debug]0x0044343c in std::istream& std::istream::_M_extract<double>(double&) ()
[debug]>>>>>>cb_gdb:

In std::istream& std::istream::_M_extract<double>(double&) () ()

[debug]> info locals
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> bt 30
[debug]#0  0x0044343c in std::istream& std::istream::_M_extract<double>(double&) ()
[debug]#1  0x004013f5 in main () at C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:20
[debug]>>>>>>cb_gdb:
[debug]> frame 1
[debug]#1  0x004013f5 in main () at C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:20
[debug]C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:20:341:beg:0x4013f5
[debug]>>>>>>cb_gdb:

#1  0x004013f5 in main () at C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:20
C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:20:341:beg:0x4013f5
At C:\Users\Jeremy\Documents\Programming\C++\Debugginb Bug #1\main.cpp:20

[debug]> info locals
[debug]base_val = 7.392408938139541e+264
[debug]rate = 5.6595430699783754e-216
[debug]years = 2686924
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No arguments.
[debug]>>>>>>cb_gdb:
[debug]> next
[debug]Single stepping until exit from function _ZNSi10_M_extractIdEERSiRT_,
[debug]which has no line number information.
[debug]127 ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c: No such file or directory.
[debug]_Unwind_SjLj_Register (fc=0x28fe0c) at ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:127
[debug]>>>>>>cb_gdb:
[debug]> info frame
[debug]Stack level 0, frame at 0x28fde0:
[debug] eip = 0x416cb8 in _Unwind_SjLj_Register (../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:127); saved eip 0x44347b
[debug] called by frame at 0x28fdf4
[debug] source language c.
[debug] Arglist at 0x28fdd8, args: fc=0x28fe0c
[debug] Locals at 0x28fdd8, Previous frame's sp is 0x28fde0
[debug] Saved registers:
[debug]  eip at 0x28fddc
[debug]>>>>>>cb_gdb:

Cannot open file: ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c
At ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:127

[debug]> info locals
[debug]No locals.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]fc = 0x28fe0c
[debug]>>>>>>cb_gdb:
[debug]> next
[debug]129 in ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c
[debug]>>>>>>cb_gdb:
[debug]> info frame
[debug]Stack level 0, frame at 0x28fde0:
[debug] eip = 0x416cc2 in _Unwind_SjLj_Register (../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:129); saved eip 0x44347b
[debug] called by frame at 0x28fdf4
[debug] source language c.
[debug] Arglist at 0x28fdc8, args: fc=0x28fe0c
[debug] Locals at 0x28fdc8, Previous frame's sp is 0x28fde0
[debug] Saved registers:
[debug]  ebx at 0x28fdd0, esi at 0x28fdd4, edi at 0x28fdd8, eip at 0x28fddc
[debug]>>>>>>cb_gdb:

Cannot open file: ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c
At ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:129

[debug]> info locals
[debug]No locals.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]fc = 0x28fe0c
[debug]>>>>>>cb_gdb:
[debug]> next
[debug]132 in ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c
[debug]>>>>>>cb_gdb:
[debug]> info frame
[debug]Stack level 0, frame at 0x28fde0:
[debug] eip = 0x416cd9 in _Unwind_SjLj_Register (../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:132); saved eip 0x44347b
[debug] called by frame at 0x28fdf4
[debug] source language c.
[debug] Arglist at 0x28fdc8, args: fc=0x28fe0c
[debug] Locals at 0x28fdc8, Previous frame's sp is 0x28fde0
[debug] Saved registers:
[debug]  ebx at 0x28fdd0, esi at 0x28fdd4, edi at 0x28fdd8, eip at 0x28fddc
[debug]>>>>>>cb_gdb:

Cannot open file: ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c
At ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:132

[debug]> info locals
[debug]No locals.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]fc = 0x28fe0c
[debug]>>>>>>cb_gdb:
[debug]> next
[debug]134 in ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c
[debug]>>>>>>cb_gdb:
[debug]> info frame
[debug]Stack level 0, frame at 0x28fde0:
[debug] eip = 0x416cec in _Unwind_SjLj_Register (../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:134); saved eip 0x44347b
[debug] called by frame at 0x28fdf4
[debug] source language c.
[debug] Arglist at 0x28fdc8, args: fc=0x28fe0c
[debug] Locals at 0x28fdc8, Previous frame's sp is 0x28fde0
[debug] Saved registers:
[debug]  ebx at 0x28fdd0, esi at 0x28fdd4, edi at 0x28fdd8, eip at 0x28fddc
[debug]>>>>>>cb_gdb:

Cannot open file: ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c
At ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:134

[debug]> info locals
[debug]No locals.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]fc = 0x28fe0c
[debug]>>>>>>cb_gdb:
[debug]> next
[debug]0x0042014c in TlsGetValue@4 ()
[debug]>>>>>>cb_gdb:

In TlsGetValue@4 () ()

[debug]> info locals
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> bt 30
[debug]#0  0x0042014c in TlsGetValue@4 ()
[debug]#1  0x00416d0a in __gthread_getspecific (__key=1) at ./gthr-default.h:611
[debug]#2  _Unwind_SjLj_Register (fc=0x28fe0c) at ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:134
[debug]#3  0x00401280 in _gnu_exception_handler@4 ()
[debug]#4  0x0028fe0c in ?? ()
[debug]#5  0x004010fd in __mingw_CRTStartup ()
[debug]#6  0x00000000 in ?? ()
[debug]>>>>>>cb_gdb:
[debug]> frame 1
[debug]611 ./gthr-default.h: No such file or directory.
[debug]#1  0x00416d0a in __gthread_getspecific (__key=1) at ./gthr-default.h:611
[debug]>>>>>>cb_gdb:

611 ./gthr-default.h: No such file or directory.
#1  0x00416d0a in __gthread_getspecific (__key=1) at ./gthr-default.h:611

[debug]> next
[debug]Single stepping until exit from function TlsGetValue@4,
[debug]which has no line number information.
[debug]0x76941940 in KERNEL32!GetDynamicTimeZoneInformation () from C:\windows\SysWOW64\kernel32.dll
[debug]>>>>>>cb_gdb:

In KERNEL32!GetDynamicTimeZoneInformation () (C:\windows\SysWOW64\kernel32.dll)

[debug]> info locals
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> bt 30
[debug]#0  0x76941940 in KERNEL32!GetDynamicTimeZoneInformation () from C:\windows\SysWOW64\kernel32.dll
[debug]#1  0x00416d0a in __gthread_getspecific (__key=1) at ./gthr-default.h:611
[debug]#2  _Unwind_SjLj_Register (fc=0x28fe0c) at ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:134
[debug]#3  0x00401280 in _gnu_exception_handler@4 ()
[debug]#4  0x0028fe0c in ?? ()
[debug]#5  0x004010fd in __mingw_CRTStartup ()
[debug]#6  0x00000000 in ?? ()
[debug]>>>>>>cb_gdb:
[debug]> frame 1
[debug]#1  0x00416d0a in __gthread_getspecific (__key=1) at ./gthr-default.h:611
[debug]611 in ./gthr-default.h
[debug]>>>>>>cb_gdb:

#1  0x00416d0a in __gthread_getspecific (__key=1) at ./gthr-default.h:611
611 in ./gthr-default.h

[debug]> next
[debug]Single stepping until exit from function KERNEL32!GetDynamicTimeZoneInformation,
[debug]which has no line number information.
[debug]0x7731d3e0 in TlsGetValue () from C:\windows\SysWOW64\KernelBase.dll
[debug]>>>>>>cb_gdb:

In TlsGetValue () (C:\windows\SysWOW64\KernelBase.dll)

[debug]> info locals
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> bt 30
[debug]#0  0x7731d3e0 in TlsGetValue () from C:\windows\SysWOW64\KernelBase.dll
[debug]#1  0x00416d0a in __gthread_getspecific (__key=1) at ./gthr-default.h:611
[debug]#2  _Unwind_SjLj_Register (fc=0x28fe0c) at ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:134
[debug]#3  0x00401280 in _gnu_exception_handler@4 ()
[debug]#4  0x0028fe0c in ?? ()
[debug]#5  0x004010fd in __mingw_CRTStartup ()
[debug]#6  0x00000000 in ?? ()
[debug]>>>>>>cb_gdb:
[debug]> frame 1
[debug]#1  0x00416d0a in __gthread_getspecific (__key=1) at ./gthr-default.h:611
[debug]611 in ./gthr-default.h
[debug]>>>>>>cb_gdb:

#1  0x00416d0a in __gthread_getspecific (__key=1) at ./gthr-default.h:611
611 in ./gthr-default.h

[debug]> next
[debug]Single stepping until exit from function TlsGetValue,
[debug]which has no line number information.
[debug]__gthread_getspecific (__key=<optimized out>) at ./gthr-default.h:613
[debug]613 in ./gthr-default.h
[debug]>>>>>>cb_gdb:
[debug]> info frame
[debug]Stack level 0, frame at 0x28fde0:
[debug] eip = 0x416d0d in __gthread_getspecific (./gthr-default.h:613); saved eip 0x44347b
[debug] inlined into frame 1
[debug] source language c.
[debug] Arglist at unknown address.
[debug] Locals at unknown address, Previous frame's sp in esp
[debug]>>>>>>cb_gdb:

Cannot open file: ./gthr-default.h
At ./gthr-default.h:613

[debug]> info locals
[debug]__lasterror = 2
[debug]__ptr = 0x28feac
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]__key = <optimized out>
[debug]>>>>>>cb_gdb:
[debug]> next
[debug]0x00420194 in SetLastError@4 ()
[debug]>>>>>>cb_gdb:

In SetLastError@4 () ()

[debug]> info locals
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> bt 30
[debug]#0  0x00420194 in SetLastError@4 ()
[debug]#1  0x00416d15 in __gthread_getspecific (__key=<optimized out>) at ./gthr-default.h:613
[debug]#2  _Unwind_SjLj_Register (fc=0x28fe0c) at ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:134
[debug]#3  0x00401280 in _gnu_exception_handler@4 ()
[debug]#4  0x0028fe0c in ?? ()
[debug]#5  0x004010fd in __mingw_CRTStartup ()
[debug]#6  0x00000000 in ?? ()
[debug]>>>>>>cb_gdb:
[debug]> frame 1
[debug]#1  0x00416d15 in __gthread_getspecific (__key=<optimized out>) at ./gthr-default.h:613
[debug]613 in ./gthr-default.h
[debug]>>>>>>cb_gdb:

#1  0x00416d15 in __gthread_getspecific (__key=<optimized out>) at ./gthr-default.h:613
613 in ./gthr-default.h

[debug]> next
[debug]Single stepping until exit from function SetLastError@4,
[debug]which has no line number information.
[debug]0x76943360 in KERNEL32!BasepIsProcessAllowed () from C:\windows\SysWOW64\kernel32.dll
[debug]>>>>>>cb_gdb:

In KERNEL32!BasepIsProcessAllowed () (C:\windows\SysWOW64\kernel32.dll)

[debug]> info locals
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> bt 30
[debug]#0  0x76943360 in KERNEL32!BasepIsProcessAllowed () from C:\windows\SysWOW64\kernel32.dll
[debug]#1  0x00416d15 in __gthread_getspecific (__key=<optimized out>) at ./gthr-default.h:613
[debug]#2  _Unwind_SjLj_Register (fc=0x28fe0c) at ../../../../src/gcc-4.7.1/libgcc/unwind-sjlj.c:134
[debug]#3  0x00401280 in _gnu_exception_handler@4 ()
[debug]#4  0x0028fe0c in ?? ()
[debug]#5  0x004010fd in __mingw_CRTStartup ()
[debug]#6  0x00000000 in ?? ()
[debug]>>>>>>cb_gdb:
[debug]> frame 1
[debug]#1  0x00416d15 in __gthread_getspecific (__key=<optimized out>) at ./gthr-default.h:613
[debug]613 in ./gthr-default.h
[debug]>>>>>>cb_gdb:

#1  0x00416d15 in __gthread_getspecific (__key=<optimized out>) at ./gthr-default.h:613
613 in ./gthr-default.h

[debug]> next
[debug]Single stepping until exit from function KERNEL32!BasepIsProcessAllowed,
[debug]which has no line number information.
[debug]0x77751130 in ?? ()
[debug]>>>>>>cb_gdb:

In ?? () ()

[debug]> info locals
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> bt 30
[debug]#0  0x77751130 in ?? ()
[debug]#1  0x004010fd in __mingw_CRTStartup ()
[debug]#2  0x00000000 in ?? ()
[debug]>>>>>>cb_gdb:
[debug]> next
[debug]Cannot find bounds of current function
[debug]>>>>>>cb_gdb:

Cannot find bounds of current function

[debug]> next
[debug]Cannot find bounds of current function
[debug]>>>>>>cb_gdb:

Cannot find bounds of current function

[debug]> next
[debug]Cannot find bounds of current function
[debug]>>>>>>cb_gdb:

Cannot find bounds of current function

[debug]> next
[debug]Cannot find bounds of current function
[debug]>>>>>>cb_gdb:

Cannot find bounds of current function

[debug]> next
[debug]Cannot find bounds of current function
[debug]>>>>>>cb_gdb:

Cannot find bounds of current function

[debug]> next
[debug]Cannot find bounds of current function
[debug]>>>>>>cb_gdb:

Cannot find bounds of current function

[debug]> next
[debug]Cannot find bounds of current function
[debug]>>>>>>cb_gdb:

Cannot find bounds of current function

Yes, I did try the latest nightly.  Do I have to install the other ones too?