Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Cannot debug registers / installing newer MingW
Forum Updated to NodeBB v4.3 + New Features

Cannot debug registers / installing newer MingW

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 3 Posters 566 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mr. Vichr
    wrote on 21 Aug 2022, 17:29 last edited by
    #1

    While debugging, opening the View/Views/Registers immediately crashes GDB and kills the application being debugged. I found on View/Views/Debugger Log, that the problem is with Qt creator sending command

    -data-list-register-values r
    

    that crashes GDB. I used the GDB console to find that the crash is caused by registers fs_base and gs_base

    ~" fs_base     152  152    536       8 long long       general,all,save,restore\n"
    ~" gs_base     153  153    544       8 long long       general,all,save,restore\n"
    

    All other registers work fine:

    -data-list-register-values r 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
    

    This happens on both my machines (Windows 10, Qt Creator 5 and 8).

    &"show version\n"
    ~"GNU gdb (GDB) 8.1\n"
    ~"Copyright (C) 2018 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 \"x86_64-w64-mingw32\".\nType \"show configuration\" for configuration details."
    

    I'm wondering if I could install latest version of GDB to see if it helps? There are several MingW and GDB downloads on the internet, but they don't seem to fit into c:\Qt\Tools\mingw810_64\ folder.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      juanneumann72
      wrote on 25 Aug 2022, 13:50 last edited by Chris Kawa
      #2

      I have also same issue any suggestion for this so please reply. Thanks in advance.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kkoehne
        Moderators
        wrote on 25 Aug 2022, 14:07 last edited by
        #3

        Can you try also with the gdb in C:\Qt\Tools\mingw1120_64 ?

        Director R&D, The Qt Company

        1 Reply Last reply
        0

        1/3

        21 Aug 2022, 17:29

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved