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

Host envs not used for remote debugging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 8.0.1
    • Boot2Qt Support , Debugger
    • None

    Description

      Regression from QtC7, the host environment variable are not available for gdb when running remote debugging session. This causes repeated warning from gdb:

      The index cache directory name is empty, skipping store.
      The index cache directory name is empty, skipping cache lookup. 

      This happens since HOME is not set for the gdb process, so the index-cache directory is invalid

      >&"show index-cache\n"
      >~"index-cache directory:  The directory of the index cache is \"\".\n"
      >~"index-cache stats:  \n"
      >~"    Cache hits (this session): 0\n"
      >~"  Cache misses (this session): 37\n"
      >~"\n"
      >~"The index cache is currently enabled.\n"
      >1002^done 

      Reproducible with Generic Linux and Boot2Qt Kits

      Attachments

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

        Activity

          People

            hjk hjk
            sapiippo Samuli Piippo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes