[Qt-creator] 64 bit gdb-python27.exe
andy fillebrown
andy.fillebrown at gmail.com
Fri Mar 11 04:24:07 CET 2011
On Thu, Mar 10, 2011 at 11:22 AM, Andre Poenitz
<andre.poenitz at mathematik.tu-chemnitz.de> wrote:
> On Wed, Mar 09, 2011 at 11:54:55PM -0500, andy fillebrown wrote:
>> On Wed, Mar 9, 2011 at 11:15 AM, Daniel Molkentin
>> <daniel.molkentin at nokia.com> wrote:
>> > On 3/9/2011 10:44 AM, ext andy fillebrown wrote:
>> >>> ftp://ftp.qt.nokia.com/misc/gdb/7.2/ or the Qt SDK 1.1 beta installer.
>> >>
>> >> AFAIK, the mingw gdb downloads at ftp.qt.nokia are all 32 bit. I need
>> >> a 64 bit version.
>> >>
>> >> ~ af
>> > I have updated
>> > ftp://ftp.qt.nokia.com/misc/gdb/7.2/qtcreator-gdb-7.2-mingw-x86.zip to
>> > include a gdb binary for the x86_64 target (gdb-x86_64-pc-mingw32.exe).
>> > Don't be confused by the fact that the binary itself is still compiled
>> > for 32 bit as the host platform (mostly for pragmatic reasons, we can
>> > reuse the 32 bit python, there is no real benefit to ship another python
>> > lib). It's compiled to debug 64 bit targets nevertheless. Please test it
>> > with a Qt Creator for 2.2 (preferred) or master branch.
>> >
>> > Note that all I verified is that the binary starts and python can be
>> > invoked. Enjoy :)
>>
>> In QtCreator, I'm getting ...
>>
>> 20-exec-run
>> >20^error,msg="Don't know how to run. Try \"help target\"."
>> dDon't know how to run. Try "help target".
>> dNOTE: ENGINE RUN FAILED
>
> Please attach the full log.
Here is the log from the TDM MinGW prebuilt binary. I've also tested
with a MinGW-w64 prebuilt binary, but it shows similar output. I'll
send it later if you want.
Thanks for looking into this.
Cheers,
~ andy.f
-------------- next part --------------
sStarting debugger 'GdbEngine' for ABI 'x86-windows-msys-pe-64bit'...
dStart parameters: 'app' mode: 1
dABI: x86-windows-msys-pe-64bit
dExecutable: C:\-\home\code\audiocarver-new\build-tdm-w64-d\bin\audiocarver.exe
dDirectory: C:\-\home\code\audiocarver-new\build-tdm-w64-d\bin
dDebugger: C:\-\usr\-\gdb\qtcreator-gdb-7.2-mingw-x86\gdb-x86_64-pc-mingw32.exe
dProject: C:\-\home\code\audiocarver-new\master (built: C:\-\home\code\audiocarver-new\build-tdm-w64-d)
dQML server: 127.0.0.1:0
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: true (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: C:/-/usr/share/scripts/gdb/gdb-startup-script.txt (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: true (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:\-\usr\-\gdb\qtcreator-gdb-7.2-mingw-x86\lib
dSTARTING C:\-\usr\-\gdb\qtcreator-gdb-7.2-mingw-x86\gdb-x86_64-pc-mingw32.exe -i mi --tty=\\.\pipe\creator-3800-4833
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('R:/share/qtcreator/gdbmacros/dumper.py')"
<15-interpreter-exec console "python execfile('R:/share/qtcreator/gdbmacros/gdbmacros.py')"
<16-interpreter-exec console "bbsetup"
<17source C:/-/usr/share/scripts/gdb/gdb-startup-script.txt
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...
<18-file-exec-and-symbols "C:/-/home/code/audiocarver-new/build-tdm-w64-d/bin/audiocarver.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:\\-\\home\\code\\audiocarver-new\\build-tdm-w64-d\\bin.\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\",formats=\"\"},{type=\"std__stack\",formats=\"\"},{type=\"QTextDocument\",formats=\"\"},{type=\"QSharedDataPointer\",formats=\"\"},{type=\"__gnu_cxx__hash_set\",formats=\"\"},{type=\"QStringList\",formats=\"\"},{type=\"QRegion\",formats=\"\"},{type=\"std__wstring\",formats=\"\"},{type=\"QString\",formats=\"Inline,Separate Window\"},{type=\"QTextCodec\",formats=\"\"},{type=\"QBasicAtomicInt\",formats=\"\"},{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=\"QStandardItem\",formats=\"\"},{type=\"std__deque\",formats=\"\"},{type=\"QFixed\",formats=\"\"},{type=\"QHash\",formats=\"\"},{type=\"QSharedPointer\",formats=\"\"},{type=\"QUrl\",formats=\"\"},{type=\"std__set\",formats=\"\"},{type=\"std__list\",formats=\"\"},{type=\"std__basic_string\",formats=\"\"},{type=\"QPoint\",formats=\"\"},{type=\"QStack\",formats=\"\"},{type=\"QScopedPointer\",formats=\"\"},{type=\"QRectF\",formats=\"\"},{type=\"QMultiMap\",formats=\"\"},{type=\"QMapNode\",formats=\"\"},{type=\"QHostAddress\",formats=\"\"},{type=\"QLocale\",formats=\"\"},{type=\"QTJSC__JSValue\",formats=\"\"},{type=\"QVariant\",formats=\"\"},{type=\"string\",formats=\"\"},{type=\"QBasicAtomicPointer\",formats=\"\"},{type=\"QVector\",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=\"\"},{type=\"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=\"\"},{type=\"QHashNode\",formats=\"\"},{type=\"QTemporaryFile\",formats=\"\"},{type=\"QModelIndex\",formats=\"\"},{type=\"std__string\",formats=\"\"},{type=\"QImage\",formats=\"Normal,Displayed\"},{type=\"QSet\",formats=\"\"},],hasInferiorThreadList=\"0\"\n"
>16^done
>&"source C:/-/usr/share/scripts/gdb/gdb-startup-script.txt\n"
>&"No symbol table is loaded. Use the \"file\" command.\n"
>~"Breakpoint 1 (qFatal) pending.\n"
>17^done
>18^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
<19maint print msymbols C:/-/tmp/gdb_ns_.LT3800
>&"maint print msymbols C:/-/tmp/gdb_ns_.LT3800\n"
>19^done
<20-exec-run
>20^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
<21-gdb-exit
>21^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.
More information about the Qt-creator-old
mailing list