Now I can't debug 64-bit code with the last few snapshots, even without debugger helper.

It looks like gdb is not set to x86_64 when debugging. I got this error:

A handler for the OS ABI "Darwin" is not built into this configuration
of GDB.  Attempting to continue with the default i386:x86-64 settings.

I attached the debugger log. I use this project setting to force Creator to build x86_64 on OS X 10.5:

        CONFIG(debug, debug|release) {
                CONFIG += x86_64
                CONFIG -= x86
        }

It does build a 64-bit binary. I just can not debug it. And I was able to a week or 2 ago.

Is 64-bit development only supported in OS X 10.6 now?

--
Stephen Chu
<mailto:[email protected]>
<http://www.ju-ju.com>
dState changed from <unknown>(-1) to DebuggerNotReady(0).
d0x118ff0b500x00x118ff13500x118ff14301
sStarting debugger for tool chain 'GCC'...
dDebugger settings: 
dUseAlternatingRowColours: false  (default: false)
dUseMessageBoxForSignals: true  (default: true)
dAutoQuit: true  (default: false)
dLogTimeStamps: false  (default: false)
dVerboseLog: false  (default: false)
dUseDebuggingHelper: true  (default: true)
dUseCustomDebuggingHelperLocation: false  (default: false)
dCustomDebuggingHelperLocation:   (default: )
dDebugDebuggingHelpers: false  (default: false)
dUseCodeModel: true  (default: true)
dUseToolTips: false  (default: false)
dUseToolTipsInLocalsView: false  (default: false)
dUseToolTipsInBreakpointsView: false  (default: false)
dUseAddressInBreakpointsView: false  (default: false)
dUseAddressInStackView: false  (default: false)
dEnvironment:   (default: )
dScriptFile:   (default: )
dWatchdogTimeout: 20  (default: 20)
dMaximalStackDepth: 20  (default: 20)
dShowStandardNamespace: true  (default: true)
dShowQtNamespace: true  (default: true)
dListSourceFiles: false  (default: false)
dSkipKnownFrames: false  (default: false)
dEnableReverseDebugging: false  (default: false)
dAllPluginBreakpoints: true  (default: true)
dSelectedPluginBreakpoints: false  (default: false)
dNoPluginBreakpoints: false  (default: false)
dSelectedPluginBreakpointsPattern:   (default: .*)
dUsePreciseBreakpoints: true  (default: false)
dBreakOnThrow: false  (default: false)
dBreakOnCatch: false  (default: false)
dChangeLanguageAutomatically: true  (default: true)
d/Users/stephenchu/OUTTest-build/Debug/OUTTest.app/Contents/MacOS/OUTTest0x118ff0b50
dState changed from DebuggerNotReady(0) to EngineStarting(1).
dState changed from EngineStarting(1) to AdapterStarting(2).
dTRYING TO START ADAPTER
dSTARTING GDB gdb
dGDB STARTED, INITIALIZING IT
<1show version
<2set print static-members off
<3set breakpoint pending on
<4set print elements 10000
<5set overload-resolution off
<6handle SIGSEGV nopass stop print
<7set unwindonsignal on
<8set width 0
<9set height 0
<10-interpreter-exec console "python execfile('/Applications/Qt 
Creator.app/Contents/Resources/gdbmacros/dumper.py')"
<11-interpreter-exec console "python execfile('/Applications/Qt 
Creator.app/Contents/Resources/gdbmacros/gdbmacros.py')"
<12-interpreter-exec console "help bb"
dState changed from AdapterStarting(2) to AdapterStarted(3).
dADAPTER SUCCESSFULLY STARTED
sStarting inferior...
dState changed from AdapterStarted(3) to InferiorStarting(6).
<13-file-exec-and-symbols 
"/Users/stephenchu/OUTTest-build/Debug/OUTTest.app/Contents/MacOS/OUTTest"
>~"GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:11:58 UTC 
>2009)\n"
>~"Copyright 2004 Free Software Foundation, Inc.\n"
>~"GDB is free software, covered by the GNU General Public License, and you 
>are\nwelcome to change it and/or distribute copies of it under certain 
>conditions.\nType \"show copying\" to see the conditions.\nThere is absolutely 
>no warranty for GDB.  Type \"show warranty\" for details.\n"
>~"This GDB was configured as \"i386-apple-darwin\"."
>~"\n"
>&"show version\n"
>~"GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:11:58 UTC 
>2009)\n"
>~"Copyright 2004 Free Software Foundation, Inc.\n"
>~"GDB is free software, covered by the GNU General Public License, and you 
>are\nwelcome to change it and/or distribute copies of it under certain 
>conditions.\nType \"show copying\" to see the conditions.\nThere is absolutely 
>no warranty for GDB.  Type \"show warranty\" for details.\n"
>~"This GDB was configured as \"i386-apple-darwin\".\n"
>1^done
dPARSING VERSION: 1^done,{logstreamoutput="show 
version\n",consolestreamoutput="GNU gdb 6.3.50-20050815 (Apple version gdb-967) 
(Tue Jul 14 02:11:58 UTC 2009)\nCopyright 2004 Free Software Foundation, 
Inc.\nGDB is free software, covered by the GNU General Public License, and you 
are\nwelcome to change it and/or distribute copies of it under certain 
conditions.\nType \"show copying\" to see the conditions.\nThere is absolutely 
no warranty for GDB.  Type \"show warranty\" for details.\nThis GDB was 
configured as \"i386-apple-darwin\".\nGNU gdb 6.3.50-20050815 (Apple version 
gdb-967) (Tue Jul 14 02:11:58 UTC 2009)\nCopyright 2004 Free Software 
Foundation, Inc.\nGDB is free software, covered by the GNU General Public 
License, and you are\nwelcome to change it and/or distribute copies of it under 
certain conditions.\nType \"show copying\" to see the conditions.\nThere is 
absolutely no warranty for GDB.  Type \"show warranty\" for details.\nThis GDB 
was configured as \"i386-apple-darwin\".\n"}
d
dUNSUPPORTED GDB VERSION GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue 
Jul 14 02:11:58 UTC 2009)
dCopyright 2004 Free Software Foundation, Inc.
dGDB is free software, covered by the GNU General Public License, and you are
dwelcome to change it and/or distribute copies of it under certain conditions.
dType "show copying" to see the conditions.
dThere is absolutely no warranty for GDB.  Type "show warranty" for details.
dThis GDB was configured as "i386-apple-darwin".
dGNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:11:58 UTC 2009)
dCopyright 2004 Free Software Foundation, Inc.
dGDB is free software, covered by the GNU General Public License, and you are
dwelcome to change it and/or distribute copies of it under certain conditions.
dType "show copying" to see the conditions.
dThere is absolutely no warranty for GDB.  Type "show warranty" for details.
dThis GDB was configured as "i386-apple-darwin".
d
dUSING GDB VERSION: 60350, BUILD: 967 (APPLE)
>&"set print static-members off\n"
>2^done
>&"set breakpoint pending on\n"
>3^done
>&"set print elements 10000\n"
>4^done
dUNEXPECTED GDB STDERR: Undefined command: "python".  Try "help".
dUndefined command: "python".  Try "help".
dUndefined command: "bb".  Try "help".
d
>&"set overload-resolution off\n"
>5^done
>&"handle SIGSEGV nopass stop print\n"
>6^done
>&"set unwindonsignal on\n"
>7^done
>&"set width 0\n"
>8^done
>&"set height 0\n"
>9^done
>10^error,msg="Undefined command: \"python\".  Try \"help\"."
>11^error,msg="Undefined command: \"python\".  Try \"help\"."
>12^error,msg="Undefined command: \"bb\".  Try \"help\"."
>&"warning: A handler for the OS ABI \"Darwin\" is not built into this 
>configuration\nof GDB.  Attempting to continue with the default i386:x86-64 
>settings.\n"
>&"\n"
>13^error,msg="Architecture of file 
>\"/Users/stephenchu/OUTTest-build/Debug/OUTTest.app/Contents/MacOS/OUTTest\" 
>does not match user selected architecture."
sFailed to start application: Starting executable failed:
sArchitecture of file 
"/Users/stephenchu/OUTTest-build/Debug/OUTTest.app/Contents/MacOS/OUTTest" does 
not match user selected architecture.
dINFERIOR START FAILED
dState changed from InferiorStarting(6) to InferiorStartFailed(7).
dINITIATE GDBENGINE SHUTDOWN
<14-gdb-exit
dState changed from InferiorStartFailed(7) to EngineShuttingDown(18).
>14^exit
dGDB CLAIMS EXIT; WAITING
dGDB PROCESS FINISHED, status 0, code 0
dGOING TO SHUT DOWN ADAPTER
dPLAIN ADAPTER SHUTDOWN 18
dState changed from EngineShuttingDown(18) to DebuggerNotReady(0).
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to