This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/18898] New: Cannot specify non-default list of directories as argument of --with-auto-load-dir on Windows


https://sourceware.org/bugzilla/show_bug.cgi?id=18898

            Bug ID: 18898
           Summary: Cannot specify non-default list of directories as
                    argument of --with-auto-load-dir on Windows
           Product: gdb
           Version: 7.10
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: eliz at gnu dot org
  Target Milestone: ---

An attempt to specify on MS-Windows non-default values for the GDB
configure-time options --with-auto-load-dir and --with-auto-load-safe-path
fails because everything after the first semi-colon is removed.

The semi-colon ';' is the directory separator character in PATH-style lists of
directories on MS-Windows.  However, using it in the argument to these two
configure-time options, for example:

  --with-auto-load-safe-path='$debugdir;$datadir/../auto-load'

causes this to be written to gdb/config.h:

  #define AUTO_LOAD_SAFE_PATH "$debugdir"

where everything beyond the first semi-colon was removed, even though the whole
argument was quoted with '..', as shown above.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]