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

On Windows host: gdb 9+ "warning: Couldn't determine a path for the index cache directory"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 7.0.0-beta1
    • Debugger
    • None
    • Windows

    Description

      Each time gdb with version >= 9 is executed on Windows, it emits this warning into stderr:

      warning: Couldn't determine a path for the index cache directory

      The workaround on Windows seems to be to assign environment variable HOME the value of USERPROFILE (at least that is the prevailing solution if one searches for the warning message).

      The reason for a cache directory is explained here: https://sourceware.org/gdb/onlinedocs/gdb/Index-Files.html

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes