[Qt-creator] 64 bit gdb-python27.exe

Stephen Chu stephen at ju-ju.com
Fri Mar 11 17:25:49 CET 2011


In article <201103111640.19195.andre.poenitz at nokia.com>,
 André Pönitz <andre.poenitz at nokia.com> wrote:
> 
> Does it change if you don't use the startup script (and later perhaps
> set the breakpoint in the breakpoint view directly)?
> 

I have the same problem and basically the same debug log without a 
startup script or any breakpoint:

sStarting debugger 'GdbEngine' for ABI 'x86-windows-msys-pe-64bit'...
dStart parameters: 'untitled' mode: 1
dABI: x86-windows-msys-pe-64bit
dExecutable: C:\Users\Stephen Chu\Desktop\untitled\debug\untitled.exe 
dDirectory: C:\Users\Stephen Chu\Desktop\untitled
dDebugger: C:\Qt\qtcreator-gdb-7.2-mingw-x86\gdb-x86_64-pc-mingw32.exe
dProject: C:\Users\Stephen Chu\Desktop\untitled (built: C:\Users\Stephen 
Chu\Desktop\untitled)
dQML server: 127.0.0.1:0
dDumper libraries: 
C:\Qt\qt-everywhere-opensource-src-4.7.2\qtc-debugging-helper\debug\gdbma
cros.dll 
C:\Qt\qt-everywhere-opensource-src-4.7.2\qtc-debugging-helper\debug\gdbma
cros.dll
d
dDebugger settings: 
dUseAlternatingRowColours: false  (default: false)
dUseMessageBoxForSignals: true  (default: true)
dAutoQuit: false  (default: false)
dLogTimeStamps: false  (default: false)
dVerboseLog: false  (default: false)
dCloseBuffersOnExit: false  (default: false)
dSwitchModeOnExit: false  (default: false)
dUseDebuggingHelper: true  (default: true)
dUseCustomDebuggingHelperLocation: false  (default: false)
dCustomDebuggingHelperLocation:   (default: )
dUseCodeModel: true  (default: true)
dShowThreadNames: false  (default: false)
dUseToolTips: false  (default: false)
dUseToolTipsInLocalsView: false  (default: false)
dUseToolTipsInBreakpointsView: false  (default: false)
dUseAddressInBreakpointsView: false  (default: false)
dUseAddressInStackView: false  (default: false)
dRegisterForPostMortem: false  (default: false)
dLoadGdbInit: true  (default: true)
dScriptFile:   (default: )
dWatchdogTimeout: 20  (default: 20)
dTargetAsync: false  (default: false)
dMaximalStackDepth: 20  (default: 20)
dShowStandardNamespace: true  (default: true)
dShowQtNamespace: true  (default: true)
dSortStructMembers: true  (default: true)
dAutoDerefPointers: true  (default: true)
dListSourceFiles: false  (default: false)
dSkipKnownFrames: false  (default: false)
dEnableReverseDebugging: false  (default: false)
dAllPluginBreakpoints: true  (default: true)
dSelectedPluginBreakpoints: false  (default: false)
dAdjustBreakpointLocations: true  (default: true)
dNoPluginBreakpoints: false  (default: false)
dSelectedPluginBreakpointsPattern: .*  (default: .*)
dBreakOnThrow: false  (default: false)
dBreakOnCatch: false  (default: false)
dState changed from DebuggerNotReady(0) to EngineSetupRequested(1).
dQUEUE: SETUP ENGINE
dCALL: SETUP ENGINE
dTRYING TO START ADAPTER
 Python path: C:\Qt\qtcreator-gdb-7.2-mingw-x86\lib
dSTARTING C:\Qt\qtcreator-gdb-7.2-mingw-x86\gdb-x86_64-pc-mingw32.exe -i 
mi --tty=\\.\pipe\creator-2356-143
dGDB STARTED, INITIALIZING IT
<1show version
<2set breakpoint pending on
<3set print elements 10000
<4set overload-resolution off
<5handle SIGSEGV nopass stop print
<6set unwindonsignal on
<7pwd
<8set width 0
<9set height 0
<10set auto-solib-add on
<11-interpreter-exec console "maintenance set internal-warning quit no"
<12-interpreter-exec console "maintenance set internal-error quit no"
<13-interpreter-exec console "disassemble 0 0"
<14-interpreter-exec console "python 
execfile('C:/Qt/qtcreator-2.1.81/share/qtcreator/gdbmacros/dumper.py')"
<15-interpreter-exec console "python 
execfile('C:/Qt/qtcreator-2.1.81/share/qtcreator/gdbmacros/gdbmacros.py')
"
<16-interpreter-exec console "bbsetup"
dOBJDUMP PROCESS COULD NOT BE STARTED. RELEASE BUILD CHECK WILL FAIL
dADAPTER SUCCESSFULLY STARTED
dNOTE: ENGINE SETUP OK
dState changed from EngineSetupRequested(1) to EngineSetupOk(3).
dQUEUE: SETUP INFERIOR
dState changed from EngineSetupOk(3) to InferiorSetupRequested(4).
dQUEUE: SETUP INFERIOR
dCALL: SETUP INFERIOR
sSetting up inferior...
<17-file-exec-and-symbols "C:/Users/Stephen 
Chu/Desktop/untitled/debug/untitled.exe"
>=thread-group-added,id="i1"
>~"GNU gdb (GDB) 7.2\n"
>~"Copyright (C) 2010 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>\nThis is free software: you are free 
to change and redistribute it.\nThere is NO WARRANTY, to the extent 
permitted by law.  Type \"show copying\"\nand \"show warranty\" for 
details.\n"
>~"This GDB was configured as \"--host=i686-pc-mingw32 
--target=x86_64-pc-mingw32\".\nFor bug reporting instructions, please 
see:\n"
>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
>&"show version\n"
>~"GNU gdb (GDB) 7.2\n"
>~"Copyright (C) 2010 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>\nThis is free software: you are free 
to change and redistribute it.\nThere is NO WARRANTY, to the extent 
permitted by law.  Type \"show copying\"\nand \"show warranty\" for 
details.\n"
>~"This GDB was configured as \"--host=i686-pc-mingw32 
--target=x86_64-pc-mingw32\".\nFor bug reporting instructions, please 
see:\n"
>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
>1^done
dPARSING VERSION: 1^done,{logstreamoutput="show 
version\n",consolestreamoutput="GNU gdb (GDB) 7.2\nCopyright (C) 2010 
Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or 
later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are 
free to change and redistribute it.\nThere is NO WARRANTY, to the extent 
permitted by law.  Type \"show copying\"\nand \"show warranty\" for 
details.\nThis GDB was configured as \"--host=i686-pc-mingw32 
--target=x86_64-pc-mingw32\".\nFor bug reporting instructions, please 
see:\n<http://www.gnu.org/software/gdb/bugs/>.\nGNU gdb (GDB) 
7.2\nCopyright (C) 2010 Free Software Foundation, Inc.\nLicense GPLv3+: 
GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is 
free software: you are free to change and redistribute it.\nThere is NO 
WARRANTY, to the extent permitted by law.  Type \"show copying\"\nand 
\"show warranty\" for details.\nThis GDB was configured as 
\"--host=i686-pc-mingw32 --target=x86_64-pc-mingw32\".\nFor bug 
reporting instructions, please 
see:\n<http://www.gnu.org/software/gdb/bugs/>.\n"}
d
dSUPPORTED GDB VERSION GNU gdb (GDB) 7.2
dCopyright (C) 2010 Free Software Foundation, Inc.
dLicense GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
dThis is free software: you are free to change and redistribute it.
dThere is NO WARRANTY, to the extent permitted by law.  Type "show 
copying"
dand "show warranty" for details.
dThis GDB was configured as "--host=i686-pc-mingw32 
--target=x86_64-pc-mingw32".
dFor bug reporting instructions, please see:
d<http://www.gnu.org/software/gdb/bugs/>.
dGNU gdb (GDB) 7.2
dCopyright (C) 2010 Free Software Foundation, Inc.
dLicense GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
dThis is free software: you are free to change and redistribute it.
dThere is NO WARRANTY, to the extent permitted by law.  Type "show 
copying"
dand "show warranty" for details.
dThis GDB was configured as "--host=i686-pc-mingw32 
--target=x86_64-pc-mingw32".
dFor bug reporting instructions, please see:
d<http://www.gnu.org/software/gdb/bugs/>.
d
dUSING GDB VERSION: 70200, BUILD: 2010
>&"set breakpoint pending on\n"
>2^done
>&"set print elements 10000\n"
>3^done
>&"set overload-resolution off\n"
>4^done
>&"handle SIGSEGV nopass stop print\n"
>~"Signal        Stop\tPrint\tPass to program\tDescription\n"
>~"SIGSEGV       Yes\tYes\tNo\t\tSegmentation fault\n"
>5^done
>&"set unwindonsignal on\n"
>6^done
>&"pwd\n"
>~"Working directory C:\\Users\\Stephen Chu\\Desktop\\untitled.\n"
>7^done
>&"set width 0\n"
>8^done
>&"set height 0\n"
>9^done
>&"set auto-solib-add on\n"
>10^done
>11^done
>12^done
>&"A syntax error in expression, near `0'.\n"
>13^error,msg="A syntax error in expression, near `0'."
>14^done
>15^done
>~"dumpers=[{type=\"QLinkedList\",formats=\"\"},{type=\"QSize\",formats=\
"\"},{type=\"QFileInfo\",formats=\"\"},{type=\"QAbstractItemModel\",forma
ts=\"\"},{type=\"std__stack\",formats=\"\"},{type=\"QTextDocument\",forma
ts=\"\"},{type=\"QSharedDataPointer\",formats=\"\"},{type=\"__gnu_cxx__ha
sh_set\",formats=\"\"},{type=\"QStringList\",formats=\"\"},{type=\"QRegio
n\",formats=\"\"},{type=\"std__wstring\",formats=\"\"},{type=\"QString\",
formats=\"Inline,Separate 
Window\"},{type=\"QTextCodec\",formats=\"\"},{type=\"QBasicAtomicInt\",fo
rmats=\"\"},{type=\"QScriptValue\",formats=\"\"},{type=\"QTime\",formats=
\"\"},{type=\"QSharedData\",formats=\"\"},{type=\"std__vector\",formats=\
"\"},{type=\"QFlags\",formats=\"\"},{type=\"QTextCursor\",formats=\"\"},{
type=\"QDateTime\",formats=\"\"},{type=\"QList\",formats=\"\"},{type=\"QS
tandardItem\",formats=\"\"},{type=\"std__deque\",formats=\"\"},{type=\"QF
ixed\",formats=\"\"},{type=\"QHash\",formats=\"\"},{type=\"QSharedPointer
\",formats=\"\"},{type=\"QUrl\",formats=\"\"},{type=\"std__set\",formats=
\"\"},{type=\"std__list\",formats=\"\"},{type=\"std__basic_string\",forma
ts=\"\"},{type=\"QPoint\",formats=\"\"},{type=\"QStack\",formats=\"\"},{t
ype=\"QScopedPointer\",formats=\"\"},{type=\"QRectF\",formats=\"\"},{type
=\"QMultiMap\",formats=\"\"},{type=\"QMapNode\",formats=\"\"},{type=\"QHo
stAddress\",formats=\"\"},{type=\"QLocale\",formats=\"\"},{type=\"QTJSC__
JSValue\",formats=\"\"},{type=\"QVariant\",formats=\"\"},{type=\"string\"
,formats=\"\"},{type=\"QBasicAtomicPointer\",formats=\"\"},{type=\"QVecto
r\",formats=\"\"},{type=\"QDate\",formats=\"\"},{type=\"QFile\",formats=\
"\"},{type=\"QAtomicInt\",formats=\"\"},{type=\"wstring\",formats=\"\"},{
type=\"QWeakPointer\",formats=\"\"},{type=\"QSizeF\",formats=\"\"},{type=
\"__m128\",formats=\"As Floats,As 
Doubles\"},{type=\"boost__optional\",formats=\"\"},{type=\"TBuf\",formats
=\"\"},{type=\"QPointF\",formats=\"\"},{type=\"TLitC\",formats=\"\"},{typ
e=\"QRect\",formats=\"\"},{type=\"QByteArray\",formats=\"\"},{type=\"QMap
\",formats=\"\"},{type=\"boost__shared_ptr\",formats=\"\"},{type=\"QChar\
",formats=\"\"},{type=\"QDir\",formats=\"\"},{type=\"QPixmap\",formats=\"
\"},{type=\"QObject\",formats=\"\"},{type=\"std__map\",formats=\"\"},{typ
e=\"QHashNode\",formats=\"\"},{type=\"QTemporaryFile\",formats=\"\"},{typ
e=\"QModelIndex\",formats=\"\"},{type=\"std__string\",formats=\"\"},{type
=\"QImage\",formats=\"Normal,Displayed\"},{type=\"QSet\",formats=\"\"},],
hasInferiorThreadList=\"0\"\n"
>16^done
>17^done
sSetting breakpoints...
dSetting breakpoints...
dNOTE: INFERIOR SETUP OK
dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6).
dState changed from InferiorSetupOk(6) to EngineRunRequested(7).
dQUEUE: RUN ENGINE
dCALL: RUN ENGINE
<18maint print msymbols 
C:/Users/STEPHE~1/AppData/Local/Temp/gdb_ns_.YZ2356
>&"maint print msymbols 
C:/Users/STEPHE~1/AppData/Local/Temp/gdb_ns_.YZ2356\n"
>18^done
<19-exec-run
>19^error,msg="Don't know how to run.  Try \"help target\"."
dDon't know how to run.  Try "help target".
dNOTE: ENGINE RUN FAILED
dState changed from EngineRunRequested(7) to EngineRunFailed(8).
dState changed from EngineRunFailed(8) to EngineShutdownRequested(20).
dQUEUE: SHUTDOWN ENGINE
dCALL: SHUTDOWN ENGINE
dPLAIN ADAPTER SHUTDOWN 20
dINITIATE GDBENGINE SHUTDOWN IN STATE 0, PROC: 2
<20-gdb-exit
>20^exit
dGDB CLAIMS EXIT; WAITING
dGDB PROCESS FINISHED, status 0, code 0
dNOTE: ENGINE SHUTDOWN OK
dState changed from EngineShutdownRequested(20) to EngineShutdownOk(22).
dState changed from EngineShutdownOk(22) to DebuggerFinished(23).
dQUEUE: FINISH DEBUGGER
dNOTE: FINISH DEBUGGER
dHANDLE RUNCONTROL FINISHED
sDebugger finished.

-- 
Stephen Chu



More information about the Qt-creator-old mailing list