Improve gendef.pl diagnostic on failure to open sym file
There have been numerous buildfarm failures but the diagnostic is currently silent about the reason for failure to open the file. Let's see if we can get to the bottom of it. Backpatch to all live branches.
This commit is contained in:
parent
9b01a21fc1
commit
351d9b7d4e
@ -29,7 +29,7 @@ sub dumpsyms
|
||||
sub extract_syms
|
||||
{
|
||||
my ($symfile, $def) = @_;
|
||||
open(F, "<$symfile") || die "Could not open $symfile for $_\n";
|
||||
open(F, "<$symfile") || die "Could not open $symfile for $_: $!\n";
|
||||
while (<F>)
|
||||
{
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user