Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24996

Remote gdb debugging fails

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      4ac7bb5a01962318c7fdb18583f7b0cc0280a716

      Description

      Remote debugging with gdb using either generic linux or boot2qt target fails when any breakpoints are set, resulting in dialog "Command aborted".

      Same thing happens if breakpoints are added after the debugger is already running.

      Debugger log:

      dEXAMINING /home/sapiippo/Qt/test/build-untitled-quick-Boot2Qt_6_0_0_Raspberry_Pi_4-Debug/untitled-quick
      dELF SECTIONS:  .interp .note.gnu.build-id .note.ABI-tag .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .ARM.extab .ARM.exidx .eh_frame .init_array .fini_array .dynamic .got .data .bss .comment .ARM.attributes .debug_aranges .debug_info .debug_abbrev .debug_line .debug_frame .debug_str .debug_loc .debug_ranges .symtab .strtab .shstrtab 
      dStart parameters: 'untitled-quick' mode: 6
      dABI: arm-linux-poky-elf-32bit
      dLanguages: c++ qml
      dExecutable: /opt/untitled-quick/bin/untitled-quick -qmljsdebugger=port:10001,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation
      dDebugger: /home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb
      dProject: /home/sapiippo/Qt/test/untitled-quick
      dAdditional Search Directories:
      dRemote: 192.168.1.175:10000
      dQML server: 192.168.1.175:10001
      dSysroot: /home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi
      dDebug Source Location: 
      dStart parameters: 'untitled-quick' mode: 6
      dABI: arm-linux-poky-elf-32bit
      dLanguages: c++ qml
      dExecutable: /opt/untitled-quick/bin/untitled-quick -qmljsdebugger=port:10001,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation
      dDebugger: /home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb
      dProject: /home/sapiippo/Qt/test/untitled-quick
      dAdditional Search Directories:
      dRemote: 192.168.1.175:10000
      dQML server: 192.168.1.175:10001
      dSysroot: /home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi
      dDebug Source Location: 
      dDebugger settings:
      dCDB2/AdditionalArguments:   (default: )
      dCDB2/BreakEvent:   (default: )
      dCDB2/BreakOnCrtDbgReport: false  (default: false)
      dCDB2/BreakpointCorrection: true  (default: true)
      dCDB2/CDB_Console: false  (default: false)
      dCDB2/FirstChanceExceptionTaskEntry: true  (default: true)
      dCDB2/IgnoreFirstChanceAccessViolation: false  (default: false)
      dCDB2/SecondChanceExceptionTaskEntry: true  (default: true)
      dCDB2/SourcePaths:   (default: )
      dCDB2/SymbolPaths:   (default: )
      dCDB2/UsePythonDumper: true  (default: true)
      dDebugMode/AdjustBreakpointLocations: true  (default: true)
      dDebugMode/AllPluginBreakpoints: true  (default: true)
      dDebugMode/AlwaysAdjustColumnWidths: true  (default: true)
      dDebugMode/AutoDerefPointers: true  (default: true)
      dDebugMode/AutoEnrichParameters: true  (default: true)
      dDebugMode/AutoQuit: false  (default: false)
      dDebugMode/BreakOnAbort: false  (default: false)
      dDebugMode/BreakOnCatch: false  (default: false)
      dDebugMode/BreakOnFatal: false  (default: false)
      dDebugMode/BreakOnThrow: false  (default: false)
      dDebugMode/BreakOnWarning: false  (default: false)
      dDebugMode/BreakpointsFullPath: false  (default: false)
      dDebugMode/CloseBuffersOnExit: false  (default: false)
      dDebugMode/CloseMemoryBuffersOnExit: true  (default: true)
      dDebugMode/DisplayStringLimit: 100  (default: 100)
      dDebugMode/EnableReverseDebugging: false  (default: false)
      dDebugMode/ExtraDumperFile:   (default: )
      dDebugMode/FontSizeFollowsEditor: false  (default: false)
      dDebugMode/GdbCustomDumperCommands:   (default: )
      dDebugMode/GdbPostAttachCommands:   (default: )
      dDebugMode/GdbStartupCommands:   (default: )
      dDebugMode/IntelFlavor: false  (default: false)
      dDebugMode/LoadGdbDumpers2: false  (default: false)
      dDebugMode/LoadGdbInit: true  (default: true)
      dDebugMode/LogTimeStamps: false  (default: false)
      dDebugMode/MaximalStackDepth: 20  (default: 20)
      dDebugMode/MaximalStringLength: 10000  (default: 10000)
      dDebugMode/MultiInferior: false  (default: false)
      dDebugMode/NoPluginBreakpoints: false  (default: false)
      dDebugMode/RaiseOnInterrupt: true  (default: true)
      dDebugMode/SelectedPluginBreakpoints: false  (default: false)
      dDebugMode/SelectedPluginBreakpointsPattern: .*  (default: .*)
      dDebugMode/ShowQObjectNames2: true  (default: true)
      dDebugMode/ShowQmlObjectTree: true  (default: true)
      dDebugMode/ShowQtNamespace: true  (default: true)
      dDebugMode/ShowStandardNamespace: true  (default: true)
      dDebugMode/ShowThreadNames: false  (default: false)
      dDebugMode/SkipKnownFrames: false  (default: false)
      dDebugMode/SortStructMembers: true  (default: true)
      dDebugMode/StationaryEditorWhileStepping: false  (default: false)
      dDebugMode/SwitchModeOnExit: false  (default: false)
      dDebugMode/TargetAsync: false  (default: false)
      dDebugMode/UseAlternatingRowColours: false  (default: false)
      dDebugMode/UseCodeModel: true  (default: true)
      dDebugMode/UseDebuggingHelper: true  (default: true)
      dDebugMode/UseDynamicType: true  (default: true)
      dDebugMode/UseMessageBoxForSignals: true  (default: true)
      dDebugMode/UseToolTips: true  (default: true)
      dDebugMode/UseToolTipsInBreakpointsView: false  (default: false)
      dDebugMode/UseToolTipsInLocalsView: false  (default: false)
      dDebugMode/UseToolTipsInStackView: true  (default: true)
      dDebugMode/WarnOnReleaseBuilds: true  (default: true)
      dDebugMode/WatchdogTimeout: 20  (default: 20)
      dQML.Inspector/QmlInspector.ShowAppOnTop: false  (default: false)
      dDebugger settings:
      dCDB2/AdditionalArguments:   (default: )
      dCDB2/BreakEvent:   (default: )
      dCDB2/BreakOnCrtDbgReport: false  (default: false)
      dCDB2/BreakpointCorrection: true  (default: true)
      dCDB2/CDB_Console: false  (default: false)
      dCDB2/FirstChanceExceptionTaskEntry: true  (default: true)
      dCDB2/IgnoreFirstChanceAccessViolation: false  (default: false)
      dCDB2/SecondChanceExceptionTaskEntry: true  (default: true)
      dCDB2/SourcePaths:   (default: )
      dCDB2/SymbolPaths:   (default: )
      dCDB2/UsePythonDumper: true  (default: true)
      dDebugMode/AdjustBreakpointLocations: true  (default: true)
      dDebugMode/AllPluginBreakpoints: true  (default: true)
      dDebugMode/AlwaysAdjustColumnWidths: true  (default: true)
      dDebugMode/AutoDerefPointers: true  (default: true)
      dDebugMode/AutoEnrichParameters: true  (default: true)
      dDebugMode/AutoQuit: false  (default: false)
      dDebugMode/BreakOnAbort: false  (default: false)
      dDebugMode/BreakOnCatch: false  (default: false)
      dDebugMode/BreakOnFatal: false  (default: false)
      dDebugMode/BreakOnThrow: false  (default: false)
      dDebugMode/BreakOnWarning: false  (default: false)
      dDebugMode/BreakpointsFullPath: false  (default: false)
      dDebugMode/CloseBuffersOnExit: false  (default: false)
      dDebugMode/CloseMemoryBuffersOnExit: true  (default: true)
      dDebugMode/DisplayStringLimit: 100  (default: 100)
      dDebugMode/EnableReverseDebugging: false  (default: false)
      dDebugMode/ExtraDumperFile:   (default: )
      dDebugMode/FontSizeFollowsEditor: false  (default: false)
      dDebugMode/GdbCustomDumperCommands:   (default: )
      dDebugMode/GdbPostAttachCommands:   (default: )
      dDebugMode/GdbStartupCommands:   (default: )
      dDebugMode/IntelFlavor: false  (default: false)
      dDebugMode/LoadGdbDumpers2: false  (default: false)
      dDebugMode/LoadGdbInit: true  (default: true)
      dDebugMode/LogTimeStamps: false  (default: false)
      dDebugMode/MaximalStackDepth: 20  (default: 20)
      dDebugMode/MaximalStringLength: 10000  (default: 10000)
      dDebugMode/MultiInferior: false  (default: false)
      dDebugMode/NoPluginBreakpoints: false  (default: false)
      dDebugMode/RaiseOnInterrupt: true  (default: true)
      dDebugMode/SelectedPluginBreakpoints: false  (default: false)
      dDebugMode/SelectedPluginBreakpointsPattern: .*  (default: .*)
      dDebugMode/ShowQObjectNames2: true  (default: true)
      dDebugMode/ShowQmlObjectTree: true  (default: true)
      dDebugMode/ShowQtNamespace: true  (default: true)
      dDebugMode/ShowStandardNamespace: true  (default: true)
      dDebugMode/ShowThreadNames: false  (default: false)
      dDebugMode/SkipKnownFrames: false  (default: false)
      dDebugMode/SortStructMembers: true  (default: true)
      dDebugMode/StationaryEditorWhileStepping: false  (default: false)
      dDebugMode/SwitchModeOnExit: false  (default: false)
      dDebugMode/TargetAsync: false  (default: false)
      dDebugMode/UseAlternatingRowColours: false  (default: false)
      dDebugMode/UseCodeModel: true  (default: true)
      dDebugMode/UseDebuggingHelper: true  (default: true)
      dDebugMode/UseDynamicType: true  (default: true)
      dDebugMode/UseMessageBoxForSignals: true  (default: true)
      dDebugMode/UseToolTips: true  (default: true)
      dDebugMode/UseToolTipsInBreakpointsView: false  (default: false)
      dDebugMode/UseToolTipsInLocalsView: false  (default: false)
      dDebugMode/UseToolTipsInStackView: true  (default: true)
      dDebugMode/WarnOnReleaseBuilds: true  (default: true)
      dDebugMode/WatchdogTimeout: 20  (default: 20)
      dQML.Inspector/QmlInspector.ShowAppOnTop: false  (default: false)
      dState changed from DebuggerNotReady(0) to EngineSetupRequested(1)
      dCALL: SETUP ENGINE
      dTRYING TO START ADAPTER
      dENABLING TEST CASE: 0
      dSTARTING /home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb -i mi
      dGDB STARTED, INITIALIZING IT
      <250show version
      <251show debug-file-directory
      <252set breakpoint pending on
      <253set print elements 10000
      <254set unwindonsignal on
      <255set width 0
      <256set height 0
       Setting up inferior...
      <257set substitute-path /home/qt/work/qt /home/sapiippo/development/qt/qt5
      <258set sysroot /home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi
      <259set substitute-path /usr/src /home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/usr/src
      <260python sys.path.insert(1, '/home/sapiippo/Qt/Tools/Preview/Qt Creator 4.14.0-rc1/share/qtcreator/debugger/')
      <261python sys.path.append('/home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/data-directory/python')
      <262python from gdbbridge import *
      <263python theDumper.loadDumpers({"token":263})
      >=thread-group-added,id="i1"
      >~"GNU gdb (GDB) 9.1\n"
      >~"Copyright (C) 2020 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."
      >~"\nType \"show copying\" and \"show warranty\" for details.\n"
      >~"This GDB was configured as \"--host=x86_64-pokysdk-linux --target=arm-poky-linux-gnueabi\".\n"
      >~"Type \"show configuration\" for configuration details.\n"
      >~"For bug reporting instructions, please see:\n"
      >~"<http://www.gnu.org/software/gdb/bugs/>.\n"
      >~"Find the GDB manual and other documentation resources online at:\n    <http://www.gnu.org/software/gdb/documentation/>."
      >~"\n\n"
      >~"For help, type \"help\".\n"
      >~"Type \"apropos word\" to search for commands related to \"word\".\n"
      
      >&"show version\n"
      >~"GNU gdb (GDB) 9.1\n"
      >~"Copyright (C) 2020 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."
      >~"\nType \"show copying\" and \"show warranty\" for details.\n"
      >~"This GDB was configured as \"--host=x86_64-pokysdk-linux --target=arm-poky-linux-gnueabi\".\n"
      >~"Type \"show configuration\" for configuration details.\n"
      >~"For bug reporting instructions, please see:\n"
      >~"<http://www.gnu.org/software/gdb/bugs/>.\n"
      >~"Find the GDB manual and other documentation resources online at:\n    <http://www.gnu.org/software/gdb/documentation/>."
      >~"\n\n"
      >~"For help, type \"help\".\n"
      >~"Type \"apropos word\" to search for commands related to \"word\".\n"
      >250^done
      dPARSING VERSION: 250^done
      dSUPPORTED GDB VERSION GNU gdb (GDB) 9.1
      dCopyright (C) 2020 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.
      dType "show copying" and "show warranty" for details.
      dThis GDB was configured as "--host=x86_64-pokysdk-linux --target=arm-poky-linux-gnueabi".
      dType "show configuration" for configuration details.
      dFor bug reporting instructions, please see:
      d<http://www.gnu.org/software/gdb/bugs/>.
      dFind the GDB manual and other documentation resources online at:
      d    <http://www.gnu.org/software/gdb/documentation/>.
      d
      dFor help, type "help".
      dType "apropos word" to search for commands related to "word".
      dGNU gdb (GDB) 9.1
      dCopyright (C) 2020 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.
      dType "show copying" and "show warranty" for details.
      dThis GDB was configured as "--host=x86_64-pokysdk-linux --target=arm-poky-linux-gnueabi".
      dType "show configuration" for configuration details.
      dFor bug reporting instructions, please see:
      d<http://www.gnu.org/software/gdb/bugs/>.
      dFind the GDB manual and other documentation resources online at:
      d    <http://www.gnu.org/software/gdb/documentation/>.
      d
      dFor help, type "help".
      dType "apropos word" to search for commands related to "word".
      dUSING GDB VERSION: 90100, BUILD: 2020
      <264-interpreter-exec console "set target-async off"
      
      >&"show debug-file-directory\n"
      >~"The directory where separate debug symbols are searched for is \"/opt/b2qt/3.1.3/sysroots/x86_64-pokysdk-linux/usr/lib/arm-poky-linux-gnueabi/debug\".\n"
      >251^done
      
      >&"set breakpoint pending on\n"
      >=cmd-param-changed,param="breakpoint pending",value="on"
      >252^done
      
      >&"set print elements 10000\n"
      >=cmd-param-changed,param="print elements",value="10000"
      >253^done
      
      >&"set unwindonsignal on\n"
      >=cmd-param-changed,param="unwindonsignal",value="on"
      >254^done
      
      >&"set width 0\n"
      >=cmd-param-changed,param="width",value="4294967295"
      >255^done
      
      >&"set height 0\n"
      >256^done
      
      >&"set substitute-path /home/qt/work/qt /home/sapiippo/development/qt/qt5\n"
      >257^done
      
      >&"set sysroot /home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi\n"
      >=cmd-param-changed,param="sysroot",value="/home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi"
      >258^done
      
      >&"set substitute-path /usr/src /home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/usr/src\n"
      >259^done
      
      >&"python sys.path.insert(1, '/home/sapiippo/Qt/Tools/Preview/Qt Creator 4.14.0-rc1/share/qtcreator/debugger/')\n"
      >260^done
      
      >&"python sys.path.append('/home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/data-directory/python')\n"
      >261^done
      
      >&"python from gdbbridge import *\n"
      >262^done
      
      >&"python theDumper.loadDumpers({\"token\":263})\n"
      >~"result={token=\"263\",dumpers=[{type=\"QVariant (QVariantMap)\",formats=\"17\"},{type=\"boost__bimaps__bimap\"}, [...] {type=\"__gnu_cxx__hash_set\"},{type=\"uint8_t\"},{type=\"int8_t\"},{type=\"std__byte\"},{type=\"std__optional\"},{type=\"std__experimental__optional\"},{type=\"cv__Size_\"},{type=\"cv__Mat\",formats=\"4\"},],python=\"30802\"}\n"
      
      >263^done
      dENGINE SUCCESSFULLY STARTED
       Setting breakpoints...
      dSetting breakpoints...
      dTAKING OWNERSHIP OF BREAKPOINT 4
      dRUNNING NEEDS-STOP COMMAND -break-insert  -f "\"main.cpp\":15"
      dUNSAFE STATE FOR QUEUED COMMAND. EXECUTING IMMEDIATELY
      <265-break-insert  -f "\"main.cpp\":15"
      <266python theDumper.appendSolibSearchPath({"path":["2f686f6d652f736170696970706f2f51742f362e302e302f426f6f743251742f7261737062657272797069342f746f6f6c636861696e2f737973726f6f74732f636f727465786137743268662d6e656f6e2d76667076342d706f6b792d6c696e75782d676e75656162692f73797374656d2f6c6962"],"separator":":","token":266})
      <267-exec-arguments -qmljsdebugger=port:10001,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation
      <268unset environment DBUS_SESSION_BUS_ADDRESS
      <269unset environment DEFAULTS_PATH
      <270unset environment DESKTOP_SESSION
      <271unset environment DESKTOP_STARTUP_ID
      <272unset environment DISPLAY
      <273unset environment GPG_AGENT_INFO
      <274unset environment HOME
      <275unset environment HOMEBREW_CELLAR
      <276unset environment HOMEBREW_PREFIX
      <277unset environment HOMEBREW_REPOSITORY
      <278unset environment INFOPATH
      <279unset environment KDE_FULL_SESSION
      <280unset environment KDE_SESSION_UID
      <281unset environment KDE_SESSION_VERSION
      <282unset environment LANG
      <283unset environment LANGUAGE
      <284unset environment LC_ADDRESS
      <285unset environment LC_IDENTIFICATION
      <286unset environment LC_MEASUREMENT
      <287unset environment LC_MONETARY
      <288unset environment LC_NAME
      <289unset environment LC_NUMERIC
      <290unset environment LC_PAPER
      <291unset environment LC_TELEPHONE
      <292unset environment LC_TIME
      <293unset environment LOGNAME
      <294unset environment MANDATORY_PATH
      <295unset environment MANPATH
      <296unset environment PAM_KWALLET5_LOGIN
      <297unset environment PATH
      <298unset environment PWD
      <299unset environment QT_ACCESSIBILITY
      <300unset environment QT_AUTO_SCREEN_SCALE_FACTOR
      <301unset environment SESSION_MANAGER
      <302unset environment SHELL
      <303unset environment SHLVL
      <304unset environment SSH_AGENT_PID
      <305unset environment SSH_AUTH_SOCK
      <306unset environment USER
      <307unset environment XAUTHORITY
      <308unset environment XCURSOR_THEME
      <309unset environment XDG_CONFIG_DIRS
      <310unset environment XDG_CURRENT_DESKTOP
      <311unset environment XDG_DATA_DIRS
      <312unset environment XDG_RUNTIME_DIR
      <313unset environment XDG_SEAT
      <314unset environment XDG_SEAT_PATH
      <315unset environment XDG_SESSION_CLASS
      <316unset environment XDG_SESSION_DESKTOP
      <317unset environment XDG_SESSION_ID
      <318unset environment XDG_SESSION_PATH
      <319unset environment XDG_SESSION_TYPE
      <320unset environment XDG_VTNR
      <321-file-symbol-file "/home/sapiippo/Qt/test/build-untitled-quick-Boot2Qt_6_0_0_Raspberry_Pi_4-Debug/untitled-quick"
      
      >264^done
      
      >&"No symbol table is loaded.  Use the \"file\" command.\n"
      >265^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="\"main.cpp\":15",times="0",original-location="\"main.cpp\":15"}
      
      >&"python theDumper.appendSolibSearchPath({\"path\":[\"2f686f6d652f736170696970706f2f51742f362e302e302f426f6f743251742f7261737062657272797069342f746f6f6c636861696e2f737973726f6f74732f636f727465786137743268662d6e656f6e2d76667076342d706f6b792d6c696e75782d676e75656162692f73797374656d2f6c6962\"],\"separator\":\":\",\"token\":266})\n"
      >=cmd-param-changed,param="solib-search-path",value=":/home/sapiippo/Qt/6.0.0/Boot2Qt/raspberrypi4/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/system/lib"
      >266^done
      
      >267^done
      
      >&"unset environment DBUS_SESSION_BUS_ADDRESS\n"
      >268^done
      
      >&"unset environment DEFAULTS_PATH\n"
      >269^done
      
      >&"unset environment DESKTOP_SESSION\n"
      >270^done
      
      >&"unset environment DESKTOP_STARTUP_ID\n"
      >271^done
      
      >&"unset environment DISPLAY\n"
      >272^done
      
      >&"unset environment GPG_AGENT_INFO\n"
      >273^done
      
      >&"unset environment HOME\n"
      >274^done
      
      >&"unset environment HOMEBREW_CELLAR\n"
      >275^done
      
      >&"unset environment HOMEBREW_PREFIX\n"
      >276^done
      
      >&"unset environment HOMEBREW_REPOSITORY\n"
      >277^done
      
      >&"unset environment INFOPATH\n"
      >278^done
      
      >&"unset environment KDE_FULL_SESSION\n"
      >279^done
      
      >&"unset environment KDE_SESSION_UID\n"
      >280^done
      
      >&"unset environment KDE_SESSION_VERSION\n"
      >281^done
      
      >&"unset environment LANG\n"
      >282^done
      
      >&"unset environment LANGUAGE\n"
      >283^done
      
      >&"unset environment LC_ADDRESS\n"
      >284^done
      
      >&"unset environment LC_IDENTIFICATION\n"
      >285^done
      
      >&"unset environment LC_MEASUREMENT\n"
      >286^done
      
      >&"unset environment LC_MONETARY\n"
      >287^done
      
      >&"unset environment LC_NAME\n"
      >288^done
      
      >&"unset environment LC_NUMERIC\n"
      >289^done
      
      >&"unset environment LC_PAPER\n"
      >290^done
      
      >&"unset environment LC_TELEPHONE\n"
      >291^done
      
      >&"unset environment LC_TIME\n"
      >292^done
      
      >&"unset environment LOGNAME\n"
      >293^done
      
      >&"unset environment MANDATORY_PATH\n"
      >294^done
      
      >&"unset environment MANPATH\n"
      >295^done
      
      >&"unset environment PAM_KWALLET5_LOGIN\n"
      >296^done
      
      >&"unset environment PATH\n"
      >297^done
      
      >&"unset environment PWD\n"
      >298^done
      
      >&"unset environment QT_ACCESSIBILITY\n"
      >299^done
      
      >&"unset environment QT_AUTO_SCREEN_SCALE_FACTOR\n"
      >300^done
      
      >&"unset environment SESSION_MANAGER\n"
      >301^done
      
      >&"unset environment SHELL\n"
      >302^done
      
      >&"unset environment SHLVL\n"
      >303^done
      
      >&"unset environment SSH_AGENT_PID\n"
      >304^done
      
      >&"unset environment SSH_AUTH_SOCK\n"
      >305^done
      
      >&"unset environment USER\n"
      >306^done
      
      >&"unset environment XAUTHORITY\n"
      >307^done
      
      >&"unset environment XCURSOR_THEME\n"
      >308^done
      
      >&"unset environment XDG_CONFIG_DIRS\n"
      >309^done
      
      >&"unset environment XDG_CURRENT_DESKTOP\n"
      >310^done
      
      >&"unset environment XDG_DATA_DIRS\n"
      >311^done
      
      >&"unset environment XDG_RUNTIME_DIR\n"
      >312^done
      
      >&"unset environment XDG_SEAT\n"
      >313^done
      
      >&"unset environment XDG_SEAT_PATH\n"
      >314^done
      
      >&"unset environment XDG_SESSION_CLASS\n"
      >315^done
      
      >&"unset environment XDG_SESSION_DESKTOP\n"
      >316^done
      
      >&"unset environment XDG_SESSION_ID\n"
      >317^done
      
      >&"unset environment XDG_SESSION_PATH\n"
      >318^done
      
      >&"unset environment XDG_SESSION_TYPE\n"
      >319^done
      
      >&"unset environment XDG_VTNR\n"
      >320^done
      
      >=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00000ff4",func="main(int, char**)",file="../untitled-quick/main.cpp",fullname="/home/sapiippo/Qt/test/untitled-quick/main.cpp",line="15",thread-groups=["i1"],times="0",original-location="\"main.cpp\":15"}
      >321^done
      <322target remote tcp:192.168.1.175:10000
      
      >&"target remote tcp:192.168.1.175:10000\n"
      >~"Remote debugging using tcp:192.168.1.175:10000\n"
      
      >=thread-group-started,id="i1",pid="319"
       Thread group i1 created.
      dTaking notice of pid 319
      >~"No executable file now.\n"
      >=thread-created,id="1",group-id="i1"
       Thread 1 created.
      >&"warning: Could not load vsyscall page because no executable was specified\n"
       Could not load vsyscall page because no executable was specified
      
      >~"0xb6fd5b80 in ?? ()\n"
      >*stopped,frame={addr="0xb6fd5b80",func="??",args=[],arch="arm"},thread-id="1",stopped-threads="all",core="0"
      eERROR: UNEXPECTED STATE: EngineSetupRequested  WANTED: InferiorStopOk IN /home/qt/work/build/qt-creator/src/plugins/debugger/gdb/gdbengine.cpp:1253
      eERROR: UNEXPECTED STATE: EngineSetupRequested  WANTED: InferiorStopOk IN /home/qt/work/build/qt-creator/src/plugins/debugger/gdb/gdbengine.cpp:1265
      <323importPlainDumpers off
      eERROR: UNEXPECTED STATE: EngineSetupRequested  WANTED: InferiorStopOk IN /home/qt/work/build/qt-creator/src/plugins/debugger/gdb/gdbengine.cpp:1337
       Stopped.
      <324-thread-info
      >322^done
      dINFERIOR STARTED
       Attached to stopped application.
      
      >&"importPlainDumpers off\n"
      >~"1 printer disabled\n"
      >~"0 of 1 printers enabled\n"
      >~"None\n"
      >323^done
      
      >324^done,threads=[{id="1",target-id="Thread 319.319",name="untitled-quick",frame={level="0",addr="0xb6fd5b80",func="??",args=[],arch="arm"},state="stopped",core="0"}],current-thread-id="1"
      <325python theDumper.fetchStack({"limit":20,"nativemixed":0,"token":325})
      
      >&"python theDumper.fetchStack({\"limit\":20,\"nativemixed\":0,\"token\":325})\n"
      
      >~"result={token=\"0\",stack={frames=[frame={level=\"0\",address=\"0xb6fd5b80\",function=\"??\",file=\"\",line=\"0\",module=\"\",language=\"c\"}frame={level=\"1\",address=\"0x0\",function=\"??\",file=\"\",line=\"0\",module=\"\",language=\"c\"}]}}\n"
      >325^done
      dALL COMMANDS DONE; INVOKING CALLBACK
      dNOTE: ENGINE SETUP OK
      dState changed from EngineSetupRequested(1) to EngineSetupOk(3)
      dState changed from EngineSetupOk(3) to EngineRunRequested(4)
      dCALL: RUN ENGINE
      dNOTE: ENGINE RUN AND INFERIOR STOP OK
       Stopped.
      dState changed from EngineRunRequested(4) to InferiorStopOk(11)
      dNOTE: INFERIOR RUN REQUESTED
       Run requested...
      dState changed from InferiorStopOk(11) to InferiorRunRequested(7)
       Running requested...
      <326-exec-continue
      
      >326^running
      dNOTE: INFERIOR RUN OK
       Running.
      dState changed from InferiorRunRequested(7) to InferiorRunOk(8)
      >*running,thread-id="all"
      dNOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
      
      >&"Warning:\n"
      >&"Cannot insert breakpoint 1.\n"
      >&"Cannot access memory at address 0xff4\n"
      >&"\n"
      >326^error,msg="Command aborted."
      dCOOKIE FOR TOKEN 326 ALREADY EATEN (InferiorRunOk). TWO RESPONSES FOR ONE COMMAND?
      dNOTE: INFERIOR SPONTANEOUS STOP
       Stopped.
      dState changed from InferiorRunOk(8) to InferiorStopOk(11)
       Executable failed: Command aborted.
      
      >&"p 0\n"
      >~"$1 = 0\n"
      >^done
      
      
      

        Attachments

        1. gdb.log
          33 kB
          Samuli Piippo
        For Gerrit Dashboard: QTCREATORBUG-24996
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes