bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/31527] gdb is not working for UNC path


From: pexu at sourceware dot mail.kapsi.fi
Subject: [Bug binutils/31527] gdb is not working for UNC path
Date: Tue, 16 Apr 2024 10:41:08 +0000

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

Pekka Seppänen <pexu at sourceware dot mail.kapsi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pexu at sourceware dot 
mail.kapsi.
                   |                            |fi

--- Comment #17 from Pekka Seppänen <pexu at sourceware dot mail.kapsi.fi> ---
Hi.

The patch added the following:

```
  if (!file)
    perror("Error opening file");
```

This is problematic, as _bfd_real_fopen() is ultimately used for an example
when ld is looking for an archive.  This means that perror() fires for soft
failures, such as archive not found from a search directry entry (-L or
--library-path).  

Again, on applications, that have multiple search path entries, in practice
there will be always "Error opening file: No such file or directory" error
messages displayed.  At least in this particular context those should be
suppressed.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]