This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFA] Generic OS ABI handling


On Fri, May 17, 2002 at 01:35:30PM +0100, Richard Earnshaw wrote:

 > Sorry Jason, I don't think this is correct.  I don't think that it will 
 > correctly handle the fact that existing GNU binutils tools for ARM set the 
 > ELFOSABI field to ELFOSABI_ARM for starters, or the fact that ARM's 

D'oh, yes, you're right.

 > Maybe a sniffer registration should be able to set a priority level (maybe 
 > just SPECIFIC/GENERIC) in a return field, then a SPECIFIC selection will 
 > always override a GENERIC selection.  A generic sniffer would always be 
 > registered as returning a GENERIC match, and specific system sniffers 
 > could override that.

Hm.  Since there's already bfd_arch_unknown for wildcarded sniffers,
a sniffer with bfd_arch_<...> could be considered "specific".  I coded
this up, updated the docs, and will post another patch with the change
in a separate message.

 > Is not strictly correct (it's a derivative of a comment that I wrote 
 > before I fully understood the meaning of this field).

Okay, fixed.

Thanks!

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]