Summary: | cannot start debugging | ||
---|---|---|---|
Product: | gdb | Reporter: | angelo <angelo70> |
Component: | gdb | Assignee: | Keith Seitz <keiths> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | keiths |
Priority: | P2 | ||
Version: | 7.2 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
angelo
2011-01-04 14:01:11 UTC
I am using MinGW and gdb 7.2. My application has been compiled with Using built-in specs. COLLECT_GCC=C:\Program Files (x86)\CodeBlocks\MinGW\bin\g++.exe COLLECT_LTO_WRAPPER=c:/program files (x86)/codeblocks/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe Target: mingw32 Configured with: ../gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --wi th-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r untime-libs --disable-werror --build=mingw32 --prefix=/mingw Thread model: win32 gcc version 4.5.0 (GCC) Below gdb error log: PATH=.;C:\Program Files (x86)\OpenAL 1.1 SDK\libs\Win32;C:\freealut-1.1.0-bin\lib;C:\wxWidgets-svn\lib\gcc_dll;C:\cvs\software\libraries\wxskin\dll;C:\Program Files (x86)\CodeBlocks\MinGW\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files (x86)\Common Files\Ulead Systems\MPEG;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\TortoiseSVN\bin;C:\wxWidgets-svn\lib\gcc_dll Command-line: C:\Program Files (x86)\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet -args bin/debug/cc.exe Working dir : C:\cvs\software\aiphonecc\ > set prompt >>>>>>cb_gdb: Reading symbols from C:\cvs\software\aiphonecc/bin/debug/cc.exe...done. (gdb) >>>>>>cb_gdb: > show version GNU gdb (GDB) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "mingw32". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. >>>>>>cb_gdb: > set confirm off >>>>>>cb_gdb: > set width 0 >>>>>>cb_gdb: > set height 0 >>>>>>cb_gdb: > set breakpoint pending on >>>>>>cb_gdb: > set print asm-demangle on >>>>>>cb_gdb: > set unwindonsignal on >>>>>>cb_gdb: > set debugevents on >>>>>>cb_gdb: > set disassembly-flavor att >>>>>>cb_gdb: > catch throw Function "__cxa_throw" not defined. Catchpoint 1 (throw) >>>>>>cb_gdb: > source C:\Program Files (x86)\CodeBlocks\share\codeblocks/scripts/stl-views-1.0.3.gdb >>>>>>cb_gdb: > directory C:/cvs/software/aiphonecc/ >>>>>>cb_gdb: > run gdb: windows_init_thread_list [New Thread 2416.0xfa0] INUE); pid=2416 tid=fa0 code=LOAD_DLL_DEBUG_EVENT) This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. ../../gdb-7.2/gdb/breakpoint.c:7129: internal-error: expand_line_sal_maybe: Assertion `found' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. I don't suppose you have a test case for this which I can use to reproduce it? Does it happen on any executable? Solved this error happen debugging a program that is build with libraries that have been built with a different/previous version of gcc. In my case, i rebuilt the libraries, re-built the main program and all works fine. Issue can be closed as invalid. Many thanks Closing this per user's request. |