[PATCH v4] Add support for the readnever concept

Pedro Alves palves@redhat.com
Fri Dec 1 12:43:00 GMT 2017


On 12/01/2017 04:35 AM, Sergio Durigan Junior wrote:

>> If readnever_symbol_files is set, then it'll have been propagated to
>> objfile->flags before we get here, no?
> 
> Hm, I think so, yes.  I mean, assuming that objfile != NULL when we call
> the readers, then yes; 

Certainly you can assume that.  A reader's job is to read
in the passed in objfile.  The very first line of elf_symfile_read
would immediately crash otherwise, for example.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list