This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Slowdown of the response from the command line?


On 2010-3-4 19:21, Chris Sutcliffe wrote:
If I can remember, the gdb.exe built from snapshot of 20100302, 20100301
always get crashed on startup either.
What do you see when gdb crashes?

When gdb.exe(build from the /current snapshot 20100304) crashes, a standard windows message dialog jumps says:
gdb.exe has encountered a problem and needs to close. we are sorry for the inconvenience.....


And here is my debuglog from codeblocks:
-------------------------------------------------------------------------------------------------
Command-line: D:\MinGW\bin\gdb.exe -nx -fullname -quiet -args bin/ptest.exe
Working dir : F:\cb_svn\src\plugins\codecompletion\parser\ptest\
> set prompt >>>>>>cb_gdb:
Reading symbols from F:\cb_svn\src\plugins\codecompletion\parser\ptest/bin/ptest.exe...
done.
(gdb) >>>>>>cb_gdb:
> show version
GNU gdb (GDB) 7.1.50.20100304
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 "i686-pc-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 intel
>>>>>>cb_gdb:
> catch throw
Catchpoint 1 (throw)
>>>>>>cb_gdb:
> source D:\Program Files\CodeBlocks\share\codeblocks/scripts/stl-views-1.0.3.gdb
>>>>>>cb_gdb:
> directory F:/cb_svn/src/plugins/codecompletion/parser/ptest/
>>>>>>cb_gdb:
> directory F:/cb_svn/src/plugins/codecompletion/parser/
>>>>>>cb_gdb:
> break "F:/cb_svn/src/plugins/codecompletion/parser/parserthread.cpp:450"
Breakpoint 2 at 0x402d8e: file F:\cb_svn\src\plugins\codecompletion\parser\parserthread.cpp, line 450.
>>>>>>cb_gdb:
> run
-------------------------------------------------------------------------------------------------
after showing "run", gdb.exe crashes.


I'll take a look at producing a profiling gdb this weekend and I'll
let you know how I make out.

Cheers!

Chris
Thank you very much!!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]