public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/18898] New: Cannot specify non-default list of directories as argument of --with-auto-load-dir on Windows
@ 2015-08-29 12:57 eliz at gnu dot org
  2015-08-29 13:06 ` [Bug build/18898] " jan.kratochvil at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: eliz at gnu dot org @ 2015-08-29 12:57 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-27  0:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-29 12:57 [Bug build/18898] New: Cannot specify non-default list of directories as argument of --with-auto-load-dir on Windows eliz at gnu dot org
2015-08-29 13:06 ` [Bug build/18898] " jan.kratochvil at redhat dot com
2023-10-26 11:55 ` eliz at gnu dot org
2023-10-27  0:07 ` thiago.bauermann at linaro dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).