On 02/01/2020 13:56, Eli Zaretskii wrote: >> From: Jon Turney >> Cc: Jon Turney >> Date: Thu, 2 Jan 2020 12:54:05 +0000 >> >> --- a/gdb/coff-pe-read.c >> +++ b/gdb/coff-pe-read.c >> @@ -441,6 +441,12 @@ read_pe_exported_syms (minimal_symbol_reader &reader, >> } >> } >> >> + if (expptr == 0) >> + { >> + /* no section contains export table rva */ >> + return; >> + } >> + > > Thanks. Would it make sense to produce some diagnostic output here, > when an appropriate debug-FOO option is set? Yes, I suppose that's better than just a comment. How about the attached?