diff options
author | Hannes Domani <ssbssa@yahoo.de> | 2020-05-13 12:41:51 +0200 |
---|---|---|
committer | Hannes Domani <ssbssa@yahoo.de> | 2020-05-27 19:41:07 +0200 |
commit | 96445f0b66af20343e2ffed08c4da8cfac101a03 (patch) | |
tree | 92fa1c9c93b5b931c3c96da1e93a6a54b4058c86 /config | |
parent | 6479bf854a468c0270bb0fcdc9d0271cca3eb5b5 (diff) | |
download | gdb-96445f0b66af20343e2ffed08c4da8cfac101a03.zip gdb-96445f0b66af20343e2ffed08c4da8cfac101a03.tar.gz gdb-96445f0b66af20343e2ffed08c4da8cfac101a03.tar.bz2 |
Use errno value of first openp failure
Fixes this testsuite fail on Windows:
FAIL: gdb.base/bad-file.exp: directory
If both tries to open the file fail (without and with ".exe"), use the
errno value of the first try.
gdb/ChangeLog:
2020-05-27 Hannes Domani <ssbssa@yahoo.de>
* exec.c (exec_file_attach): Use errno value of first openp failure.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions