This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/18897] New: Default values for auto-load directories use wrong path separator on MS-Windows
- From: "eliz at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 29 Aug 2015 12:48:39 +0000
- Subject: [Bug build/18897] New: Default values for auto-load directories use wrong path separator on MS-Windows
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18897
Bug ID: 18897
Summary: Default values for auto-load directories use wrong
path separator on MS-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: ---
Building GDB 7.10 on MS-Windows with MinGW toolchain produces a binary whose
auto-load safe-path and script-directory use a colon ':' for separating
directories, instead of a semi-colon ';'.
The values are computed by configure and written in gdb/config.h:
#define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
#define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
This causes the auto-loading features not to work correctly, as the code which
uses these values at run time correctly uses the semi-colon as the separator
character on MS-Windows.
The fix should be to use a host-dependent character when computing the value at
configure time.
--
You are receiving this mail because:
You are on the CC list for the bug.