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

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 7.0.0-beta1
    • Debugger
    • None
    • Windows

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes