h...@all, I have tested the QTCreator IDE and it looks very nice, but one thing that makes it unuseable for me is that remote debugging for arm seems not to work properly. On Eclipse this isn't a problem. It would also be very nice to get the debugging helper library working for arm targets.
On Eclipse I'm using the following script for gdb: ------- set solib-search-path /usr/local/arm/lib:_path_to_qt_libs set solib-absolute-prefix /dev/null shell scp /home/user/test/test [email protected]:/tmp/ shell ssh -t -l root 192.168.0.2 /usr/bin/gdbserver 192.168.0.2:2222 /tmp/test -qws & file /home/user/test/test ------- If I use this script with the QTCreator the following error occures: dState changed from <unknown>(-1) to DebuggerNotReady(0). d0x8d3ee780x00x8d3f6182 sStarte Debugger für Toolchain '<Ungültig>'... dDebugger settings: dUseAlternatingRowColours: false (default: false) dUseMessageBoxForSignals: true (default: true) dAutoQuit: false (default: false) dLogTimeStamps: 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) dLocation: /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gdb (default: gdb) dEnvironment: (default: ) dScriptFile: /home/jm/test3/gdbinit (default: ) 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: .*) d/home/jm/test3/test30x8d3ee78 dState changed from DebuggerNotReady(0) to EngineStarting(1). dState changed from EngineStarting(1) to AdapterStarting(2). dTRYING TO START ADAPTER dSTARTING GDB dGDB STARTED, INITIALIZING IT <1show version <2source -p /home/jm/qtcreator-1.3.80/share/qtcreator/gdbmacros/dumper.py <3source -p /home/jm/qtcreator-1.3.80/share/qtcreator/gdbmacros/gdbmacros.py <4-interpreter-exec console "help bb" <5set print static-members off <6set breakpoint pending on <7set print elements 10000 <8set overload-resolution off <9handle SIGSEGV nopass stop print <10set unwindonsignal on <11set width 0 <12set height 0 <13source /home/jm/test3/gdbinit <14set environment LD_PRELOAD /home/jm/.local/share/data/Nokia/QtCreator/qtc-debugging-helper/134437412/libgdbmacros.so dState changed from AdapterStarting(2) to AdapterStarted(3). dADAPTER SUCCESSFULLY STARTED sStarte zu debuggenden Prozess... dState changed from AdapterStarted(3) to InferiorStarting(6). <15-file-exec-and-symbols "/home/jm/test3/test3" >~"GNU gdb 6.8\n" >~"Copyright (C) 2008 Free Software Foundation, Inc.\n" >~"License GPLv3+: GNU GPL version 3 or later ><http://gnu.org/licenses/gpl.html>\n" >~"This is free software: you are free to change and redistribute it.\n" >~"There is NO WARRANTY, to the extent permitted by law. Type \"show >copying\"\n" >~"and \"show warranty\" for details.\n" >~"This GDB was configured as \"--host=i686-linux >--target=arm-angstrom-linux-gnueabi\".\n" >&"show version\n" >~"GNU gdb 6.8\n" >~"Copyright (C) 2008 Free Software Foundation, Inc.\n" >~"License GPLv3+: GNU GPL version 3 or later ><http://gnu.org/licenses/gpl.html>\n" >~"This is free software: you are free to change and redistribute it.\n" >~"There is NO WARRANTY, to the extent permitted by law. Type \"show >copying\"\n" >~"and \"show warranty\" for details.\n" >~"This GDB was configured as \"--host=i686-linux >--target=arm-angstrom-linux-gnueabi\".\n" >1^done dVERSION: 1^done,{logstreamoutput="show version\n",consolestreamoutput="GNU gdb 6.8\nCopyright (C) 2008 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-linux --target=arm-angstrom-linux-gnueabi\".\nGNU gdb 6.8\nCopyright (C) 2008 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-linux --target=arm-angstrom-linux-gnueabi\".\n"} d dGDB VERSION: 60800, BUILD: 0 >&"source -p /home/jm/qtcreator-1.3.80/share/qtcreator/gdbmacros/dumper.py\n" >&"-p /home/jm/qtcreator-1.3.80/share/qtcreator/gdbmacros/dumper.py: No such >file or directory.\n" >2^error,msg="-p /home/jm/qtcreator-1.3.80/share/qtcreator/gdbmacros/dumper.py: >No such file or directory." >&"source -p /home/jm/qtcreator-1.3.80/share/qtcreator/gdbmacros/gdbmacros.py\n" >&"-p /home/jm/qtcreator-1.3.80/share/qtcreator/gdbmacros/gdbmacros.py: No such >file or directory.\n" >3^error,msg="-p >/home/jm/qtcreator-1.3.80/share/qtcreator/gdbmacros/gdbmacros.py: No such file >or directory." >&"Undefined command: \"bb\". Try \"help\".\n" >4^error,msg="Undefined command: \"bb\". Try \"help\"." >&"set print static-members off\n" >5^done >&"set breakpoint pending on\n" >6^done >&"set print elements 10000\n" >7^done >&"set overload-resolution off\n" >8^done >&"handle SIGSEGV nopass stop print\n" >~"Signal Stop\tPrint\tPass to program\tDescription\n" >~"SIGSEGV Yes\tYes\tNo\t\tSegmentation fault\n" >9^done >&"set unwindonsignal on\n" >10^done >&"set width 0\n" >11^done >&"set height 0\n" >12^done >&"source /home/jm/test3/gdbinit\n" >13^done >&"set environment LD_PRELOAD >/home/jm/.local/share/data/Nokia/QtCreator/qtc-debugging-helper/134437412/libgdbmacros.so\n" >14^done >15^done <16info target <17set substitute-path /var/tmp/qt-x11-src-4.6.0 /usr/local/qt sSetze Haltepunkte... <18-file-list-exec-source-files <19-break-list >&"info target\n" >~"Symbols from \"/home/jm/test3/test3\".\n" >~"Local exec file:\n" >~"\t`/home/jm/test3/test3', file type elf32-littlearm.\n" >~"\tEntry point: 0xba90\t0x00008114 - 0x00008127 is .interp\n" >~"\t0x00008128 - 0x00008148 is .note.ABI-tag\n" >~"\t0x00008148 - 0x0000866c is .hash\n" >~"\t0x0000866c - 0x000092ac is .dynsym\n" >~"\t0x000092ac - 0x0000aaa1 is .dynstr\n" >~"\t0x0000aaa2 - 0x0000ac2a is .gnu.version\n" >~"\t0x0000ac2c - 0x0000acbc is .gnu.version_r\n" >~"\t0x0000acbc - 0x0000acf4 is .rel.dyn\n" >~"\t0x0000acf4 - 0x0000b254 is .rel.plt\n" >~"\t0x0000b254 - 0x0000b268 is .init\n" >~"\t0x0000b268 - 0x0000ba8c is .plt\n" >~"\t0x0000ba90 - 0x00013208 is .text\n" >~"\t0x00013208 - 0x00013218 is .fini\n" >~"\t0x00013218 - 0x00013628 is .rodata\n" >~"\t0x00013628 - 0x00014010 is .ARM.extab\n" >~"\t0x00014010 - 0x000143b8 is .ARM.exidx\n" >~"\t0x000143b8 - 0x000143bc is .eh_frame\n" >~"\t0x0001c3bc - 0x0001c3c0 is .init_array\n" >~"\t0x0001c3c0 - 0x0001c3c4 is .fini_array\n" >~"\t0x0001c3c4 - 0x0001c3c8 is .jcr\n" >~"\t0x0001c3c8 - 0x0001c508 is .dynamic\n" >~"\t0x0001c508 - 0x0001c7c8 is .got\n" >~"\t0x0001c7c8 - 0x0001c7d0 is .data\n" >~"\t0x0001c7d0 - 0x0001c854 is .bss\n" >16^done <20tbreak *0xba90 >&"set substitute-path /var/tmp/qt-x11-src-4.6.0 /usr/local/qt\n" >17^done >18^done,files=[{file="/home/jm/oe/stuff/huber-overlay/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.6.1-r15/build-arm-angstrom-linux-gnueabi/csu/crtn.S",fullname="/home/jm/oe/stuff/huber-overlay/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.6.1-r15/build-arm-angstrom-linux-gnueabi/csu/crtn.S"},{file="/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/../../../../arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/locale_facets.tcc",fullname="/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/locale_facets.tcc"},{file="/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/../../../../arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/stl_algobase.h",fullname="/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/stl_algobase.h"},{file="moc_qtthumbwheel.cpp",fullname="/home/jm/test3/moc_qtthumbwheel.cpp"},{file="moc_qtthumbwheel.cpp",fullname="/home/jm/test3/moc_qtthumbwheel.cpp"},{file="/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/../../../../arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/locale_facets.tcc",fullname="/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/locale_facets.tcc"},{file="/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/../../../../arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/stl_algobase.h",fullname="/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/stl_algobase.h"},{file="moc_mainwindow.cpp",fullname="/home/jm/test3/moc_mainwindow.cpp"},{file="moc_mainwindow.cpp",fullname="/home/jm/test3/moc_mainwindow.cpp"},{file="/usr/local/qt/include/QtGui/qpainter.h",fullname="/usr/local/qt/include/QtGui/qpainter.h"},{file="/usr/local/qt/include/QtGui/qcolor.h",fullname="/usr/local/qt/include/QtGui/qcolor.h"},{file="/usr/local/qt/include/QtGui/qpalette.h",fullname="/usr/local/qt/include/QtGui/qpalette.h"},{file="/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/../../../../arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/locale_facets.tcc",fullname="/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/locale_facets.tcc"},{file="/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/../../../../arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/stl_algobase.h",fullname="/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/stl_algobase.h"},{file="/usr/local/qt/include/QtGui/qevent.h",fullname="/usr/local/qt/include/QtGui/qevent.h"},{file="/usr/local/qt/include/QtCore/qcoreevent.h",fullname="/usr/local/qt/include/QtCore/qcoreevent.h"},{file="/opt/qtsdk-2009.03/qt/src/3rdparty/qtthumbwheel/qtthumbwheel.h",fullname="/opt/qtsdk-2009.03/qt/src/3rdparty/qtthumbwheel/qtthumbwheel.h"},{file="/usr/local/qt/include/QtGui/qwidget.h",fullname="/usr/local/qt/include/QtGui/qwidget.h"},{file="/usr/local/qt/include/QtGui/qsizepolicy.h",fullname="/usr/local/qt/include/QtGui/qsizepolicy.h"},{file="/usr/local/qt/include/QtGui/qbrush.h",fullname="/usr/local/qt/include/QtGui/qbrush.h"},{file="/usr/local/qt/include/QtCore/qline.h",fullname="/usr/local/qt/include/QtCore/qline.h"},{file="/usr/local/qt/include/QtCore/qrect.h",fullname="/usr/local/qt/include/QtCore/qrect.h"},{file="/usr/local/qt/include/QtCore/qpoint.h",fullname="/usr/local/qt/include/QtCore/qpoint.h"},{file="/usr/local/qt/include/QtCore/qsize.h",fullname="/usr/local/qt/include/QtCore/qsize.h"},{file="/usr/local/qt/include/QtCore/qglobal.h",fullname="/usr/local/qt/include/QtCore/qglobal.h"},{file="/opt/qtsdk-2009.03/qt/src/3rdparty/qtthumbwheel/qtthumbwheel.cpp",fullname="/opt/qtsdk-2009.03/qt/src/3rdparty/qtthumbwheel/qtthumbwheel.cpp"},{file="ui_mainwindow.h",fullname="/home/jm/test3/ui_mainwindow.h"},{file="/usr/local/qt/include/QtGui/qwidget.h",fullname="/usr/local/qt/include/QtGui/qwidget.h"},{file="mainwindow.cpp",fullname="/home/jm/test3/mainwindow.cpp"},{file="/usr/local/qt/include/QtCore/qglobal.h",fullname="/usr/local/qt/include/QtCore/qglobal.h"},{file="/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/../../../../arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/locale_facets.tcc",fullname="/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/locale_facets.tcc"},{file="/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/../../../../arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/stl_algobase.h",fullname="/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/stl_algobase.h"},{file="/usr/local/qt/include/QtGui/qsizepolicy.h",fullname="/usr/local/qt/include/QtGui/qsizepolicy.h"},{file="/usr/local/qt/include/QtCore/qrect.h",fullname="/usr/local/qt/include/QtCore/qrect.h"},{file="/usr/local/qt/include/QtCore/qsize.h",fullname="/usr/local/qt/include/QtCore/qsize.h"},{file="/usr/local/qt/include/QtCore/qstring.h",fullname="/usr/local/qt/include/QtCore/qstring.h"},{file="/usr/local/qt/include/QtCore/qatomic_arm.h",fullname="/usr/local/qt/include/QtCore/qatomic_arm.h"},{file="mainwindow.cpp",fullname="/home/jm/test3/mainwindow.cpp"},{file="main.cpp",fullname="/home/jm/test3/main.cpp"},{file="/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/../../../../arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/locale_facets.tcc",fullname="/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/locale_facets.tcc"},{file="/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/../../../../arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/stl_algobase.h",fullname="/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/include/c++/4.2.4/bits/stl_algobase.h"},{file="/usr/local/qt/include/QtCore/qglobal.h",fullname="/usr/local/qt/include/QtCore/qglobal.h"},{file="/usr/local/qt/include/QtGui/qwidget.h",fullname="/usr/local/qt/include/QtGui/qwidget.h"},{file="main.cpp",fullname="/home/jm/test3/main.cpp"},{file="/home/jm/oe/stuff/huber-overlay/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.6.1-r15/build-arm-angstrom-linux-gnueabi/csu/crti.S",fullname="/home/jm/oe/stuff/huber-overlay/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.6.1-r15/build-arm-angstrom-linux-gnueabi/csu/crti.S"}] >19^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]} <21-break-insert -f "\"main.cpp\":8" >&"tbreak *0xba90\n" >~"Breakpoint 1 at 0xba90\n" >20^done >21^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000bd3c",func="main",file="main.cpp",fullname="/home/jm/test3/main.cpp",line="8",times="0"} dALL COMMANDS DONE; INVOKING CALLBACK dBREAKPOINTS SET, CONTINUING INFERIOR STARTUP dState changed from InferiorStarting(6) to InferiorRunningRequested(8). <22-exec-run >22^running dState changed from InferiorRunningRequested(8) to InferiorRunning(10). sLäuft... dINFERIOR STARTED sZu debuggender Prozess gestartet. >&"Don't know how to run. Try \"help target\".\n" >22^error,msg="Don't know how to run. Try \"help target\"." dCOOKIE FOR TOKEN 22 ALREADY EATEN. TWO RESPONSES FOR ONE COMMAND? sFehler bei Ausführung: Don't know how to run. Try "help target". If I then try to stop (kill) the debugger this also doesn't work: dState changed from InferiorRunning(10) to InferiorStopping(11). sStop angefordert... dTRYING TO INTERRUPT INFERIOR dTRYING TO INTERRUPT INFERIOR BEFORE PID WAS OBTAINED d11 dINITIATE GDBENGINE SHUTDOWN dQUEUING COMMAND kill dState changed from InferiorStopping(11) to InferiorStopping_Kill(12). dCHILD ALREADY BEING INTERRUPTED Thanks in advance, majo _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
