public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/18897] New: Default values for auto-load directories use wrong path separator on MS-Windows
@ 2015-08-29 12:48 eliz at gnu dot org
  2015-08-29 13:06 ` [Bug build/18897] " jan.kratochvil at redhat dot com
  2023-10-26 11:57 ` eliz at gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: eliz at gnu dot org @ 2015-08-29 12:48 UTC (permalink / raw)
  To: gdb-prs

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.


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

* [Bug build/18897] Default values for auto-load directories use wrong path separator on MS-Windows
  2015-08-29 12:48 [Bug build/18897] New: Default values for auto-load directories use wrong path separator on MS-Windows eliz at gnu dot org
@ 2015-08-29 13:06 ` jan.kratochvil at redhat dot com
  2023-10-26 11:57 ` eliz at gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: jan.kratochvil at redhat dot com @ 2015-08-29 13:06 UTC (permalink / raw)
  To: gdb-prs

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

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan.kratochvil at redhat dot com

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


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

* [Bug build/18897] Default values for auto-load directories use wrong path separator on MS-Windows
  2015-08-29 12:48 [Bug build/18897] New: Default values for auto-load directories use wrong path separator on MS-Windows eliz at gnu dot org
  2015-08-29 13:06 ` [Bug build/18897] " jan.kratochvil at redhat dot com
@ 2023-10-26 11:57 ` eliz at gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: eliz at gnu dot org @ 2023-10-26 11:57 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Eli Zaretskii <eliz at gnu dot org> ---
Thiago Jung Bauermann <thiago.bauermann@linaro.org> suggested a workaround in
https://sourceware.org/pipermail/gdb-patches/2023-October/203020.html.

I tested it, and it does work.

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

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

end of thread, other threads:[~2023-10-26 11:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-29 12:48 [Bug build/18897] New: Default values for auto-load directories use wrong path separator on MS-Windows eliz at gnu dot org
2015-08-29 13:06 ` [Bug build/18897] " jan.kratochvil at redhat dot com
2023-10-26 11:57 ` eliz at gnu 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).