This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [RFA/hpux] Implement file_matches_executable_p


> Now, on to the other maches_executable_p function bodies...

One question: I've seen two instances of the following case:

    char *
    cisco_core_file_failing_command (abfd)
         bfd *abfd ATTRIBUTE_UNUSED;
    {
      return NULL;
    }
    
    int
    cisco_core_file_failing_signal (abfd)
         bfd *abfd ATTRIBUTE_UNUSED;
    {
      return abfd->tdata.cisco_core_data->sig;
    }
    
    bfd_boolean
    cisco_core_file_matches_executable_p (core_bfd, exec_bfd)
         bfd *core_bfd ATTRIBUTE_UNUSED;
         bfd *exec_bfd ATTRIBUTE_UNUSED;
    {
      return TRUE;
    }

I can remove the target specific core_file_matches_executable_p,
and replace it with the generic one. It is a bit less efficient
though. Should I proceed with the replacement anyway?

-- 
Joel


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