mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
d706b69e48
PR win32/25302 notes that gdb will crash when trying to "run" even a simple program on Windows. The essential bug here is that the BFD cache can easily be corrupted -- I have sent a separate patch for that. The particular reason that the cache is corrupted on Windows is that gnulib overrides "stat" to make it do timezone adjustment -- but BFD does not use this version of stat. The difference here triggers the latent cache bug, but can also cause other bugs as well; in particular it can cause spurious warnings about source files being newer. This patch simply removes the stat override on mingw, making gnulib and BFD agree. I tested this by backing out the local AdaCore changes to work around this bug and then verifying that I could reproduce it. Then, I applied this patch and verified that "run" works again. 2020-09-08 Tom Tromey <tromey@adacore.com> PR win32/25302: * update-gnulib.sh: Apply stat patch. * patches/0001-use-windows-stat: New file. * import/m4/stat.m4: Update. * configure: Rebuild. |
||
---|---|---|
.. | ||
__inline.m4 | ||
00gnulib.m4 | ||
absolute-header.m4 | ||
alloca.m4 | ||
arpa_inet_h.m4 | ||
btowc.m4 | ||
builtin-expect.m4 | ||
canonicalize.m4 | ||
chdir-long.m4 | ||
close.m4 | ||
closedir.m4 | ||
codeset.m4 | ||
ctype.m4 | ||
d-ino.m4 | ||
d-type.m4 | ||
dirent_h.m4 | ||
dirfd.m4 | ||
dirname.m4 | ||
double-slash-root.m4 | ||
dup2.m4 | ||
dup.m4 | ||
eealloc.m4 | ||
environ.m4 | ||
errno_h.m4 | ||
error.m4 | ||
exponentd.m4 | ||
exponentl.m4 | ||
extensions.m4 | ||
extern-inline.m4 | ||
fchdir.m4 | ||
fcntl_h.m4 | ||
fcntl-o.m4 | ||
fcntl.m4 | ||
fdopendir.m4 | ||
filenamecat.m4 | ||
flexmember.m4 | ||
float_h.m4 | ||
fnmatch_h.m4 | ||
fnmatch.m4 | ||
fpieee.m4 | ||
frexp.m4 | ||
frexpl.m4 | ||
fstat.m4 | ||
fstatat.m4 | ||
getcwd-abort-bug.m4 | ||
getcwd-path-max.m4 | ||
getcwd.m4 | ||
getdtablesize.m4 | ||
getlogin_r.m4 | ||
getlogin.m4 | ||
getpagesize.m4 | ||
getprogname.m4 | ||
getrandom.m4 | ||
gettimeofday.m4 | ||
glob_h.m4 | ||
glob.m4 | ||
gnulib-cache.m4 | ||
gnulib-common.m4 | ||
gnulib-comp.m4 | ||
gnulib-tool.m4 | ||
include_next.m4 | ||
inet_ntop.m4 | ||
inttypes-pri.m4 | ||
inttypes.m4 | ||
isblank.m4 | ||
isnand.m4 | ||
isnanl.m4 | ||
largefile.m4 | ||
limits-h.m4 | ||
localcharset.m4 | ||
locale_h.m4 | ||
locale-fr.m4 | ||
locale-ja.m4 | ||
locale-zh.m4 | ||
localtime-buffer.m4 | ||
lock.m4 | ||
lstat.m4 | ||
malloc.m4 | ||
malloca.m4 | ||
math_h.m4 | ||
mbrtowc.m4 | ||
mbsinit.m4 | ||
mbsrtowcs.m4 | ||
mbstate_t.m4 | ||
mbtowc.m4 | ||
memchr.m4 | ||
memmem.m4 | ||
mempcpy.m4 | ||
memrchr.m4 | ||
minmax.m4 | ||
mkdir.m4 | ||
mkdtemp.m4 | ||
mkostemp.m4 | ||
mmap-anon.m4 | ||
mode_t.m4 | ||
msvc-inval.m4 | ||
msvc-nothrow.m4 | ||
multiarch.m4 | ||
netinet_in_h.m4 | ||
nocrash.m4 | ||
off_t.m4 | ||
open-cloexec.m4 | ||
open-slash.m4 | ||
open.m4 | ||
openat.m4 | ||
opendir.m4 | ||
pathmax.m4 | ||
pthread_rwlock_rdlock.m4 | ||
rawmemchr.m4 | ||
readdir.m4 | ||
readlink.m4 | ||
realloc.m4 | ||
rename.m4 | ||
rewinddir.m4 | ||
rmdir.m4 | ||
save-cwd.m4 | ||
setenv.m4 | ||
setlocale_null.m4 | ||
signal_h.m4 | ||
socklen.m4 | ||
sockpfaf.m4 | ||
ssize_t.m4 | ||
stat-time.m4 | ||
stat.m4 | ||
std-gnu11.m4 | ||
stdalign.m4 | ||
stdbool.m4 | ||
stddef_h.m4 | ||
stdint.m4 | ||
stdio_h.m4 | ||
stdlib_h.m4 | ||
strchrnul.m4 | ||
strdup.m4 | ||
strerror_r.m4 | ||
strerror.m4 | ||
string_h.m4 | ||
strnlen.m4 | ||
strstr.m4 | ||
strtok_r.m4 | ||
sys_random_h.m4 | ||
sys_socket_h.m4 | ||
sys_stat_h.m4 | ||
sys_time_h.m4 | ||
sys_types_h.m4 | ||
sys_uio_h.m4 | ||
tempname.m4 | ||
threadlib.m4 | ||
time_h.m4 | ||
time_r.m4 | ||
unistd_h.m4 | ||
unistd-safer.m4 | ||
visibility.m4 | ||
warn-on-use.m4 | ||
wchar_h.m4 | ||
wchar_t.m4 | ||
wctype_h.m4 | ||
wint_t.m4 | ||
wmemchr.m4 | ||
wmempcpy.m4 | ||
zzgnulib.m4 |