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

Cannot debug mingw32 executables with gdb64

    XMLWordPrintable

Details

    • 9032c7741a6fb9056267cccc007e654ab3c96aea (qt-creator/tqtc-qt-creator/5.0)

    Description

      My application is built with mingw32, but since the executable is large (around 1G), I need gdb64 to debug it.

      This works well with gdb 10.2 on command line, but fails with Qt Creator.

      It tries to load wow64cpu.dll, which it doesn't on command-line.

      I tested with previous versions of Qt Creator (up to 4.9.2), and it doesn't work either, so this is not a regression.

      >&"warning: `C:\\WINDOWS\\System32\\wow64cpu.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.\n"
       `C:\WINDOWS\System32\wow64cpu.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
      >=library-loaded,id="C:\\WINDOWS\\System32\\wow64cpu.dll",target-name="C:\\WINDOWS\\System32\\wow64cpu.dll",host-name="C:\\WINDOWS\\System32\\wow64cpu.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x779f1000",to="0x779f9078"}]
       Library C:\WINDOWS\System32\wow64cpu.dll loaded.

      Attachments

        1. gdb-good.txt
          87 kB
        2. gdb-bad.txt
          50 kB
        3. gdb.log
          48 kB
        4. diff.png
          diff.png
          88 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes