Cannot debug registers / installing newer MingW
Unsolved
Qt Creator and other tools
-
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
andgs_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. -
I have also same issue any suggestion for this so please reply. Thanks in advance.
-
Can you try also with the gdb in C:\Qt\Tools\mingw1120_64 ?