Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtCreator QNX debugger issue



  • Strange things happened when QtCreator tries to add some gdb command to debugging session, like below:

    GNU gdb (GDB) 7.6.1 qnx (rev. 863)
    Copyright (C) 2013 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "--host=i686-pc-linux-gnu --target=i486-pc-nto-qnx6.6.0".
    dUNEXPECTED GDB STDERR: Undefined command: "22show". Try "help".
    dUndefined command: "23show". Try "help".
    dUndefined command: "24set". Try "help".
    dUndefined command: "25set". Try "help".
    dUndefined command: "26set". Try "help".
    dUndefined command: "27set". Try "help".
    dUndefined command: "28set". Try "help".
    dUndefined command: "29python". Try "help".
    dUndefined command: "30python". Try "help".
    dUndefined command: "31python". Try "help".
    dUndefined command: "32python". Try "help".

    Maybe someone can explain why command passed with line numbers. Thnx.

    gdb command output from QtCreator

    22show version
    23show debug-file-directory
    24set breakpoint pending on
    25set print elements 10000
    26set unwindonsignal on
    27set width 0
    28set height 0
    Setting up inferior...
    29python sys.path.insert(1, '/home/storcy2/qtcreator-4.13.1/share/qtcreator/debugger/')
    30python sys.path.append('/home/storcy2/data-directory/python')
    31python from gdbbridge import *
    32python theDumper.loadDumpers({"token":32})
    Debugging has failed.*


Log in to reply