]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Better handling of realpath() failure in windows_make_so() on Cygwin
authorJon Turney <jon.turney@dronecode.org.uk>
Wed, 13 Jan 2016 18:27:48 +0000 (18:27 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Wed, 15 Apr 2020 14:07:02 +0000 (15:07 +0100)
commita0e9b53238c3033222c53b1654da535c0743ab6e
tree1c444688a7e901ff07b052b39900507709370e85
parent95a515681272fa3a79624279c1579cce14ad61c0
Better handling of realpath() failure in windows_make_so() on Cygwin

It seems Cygwin's realpath() can fail on certain DLLs (apparently some
AV software prevent it working on it's DLLs; See [1], [2]).  Warn rather
than stopping with an error if that occurs.

Based on an original patch from Tim Chick.

[1] https://cygwin.com/ml/cygwin/2014-08/msg00401.html
[2] https://cygwin.com/ml/cygwin/2015-11/msg00353.html

gdb/ChangeLog:

2016-01-20  Jon Turney  <jon.turney@dronecode.org.uk>

* windows-nat.c (windows_make_so): Warn rather than stopping with
an error if realpath() fails.
gdb/ChangeLog
gdb/windows-nat.c