1 #ifndef AVR_BFDPROGRAM_H
2 #define AVR_BFDPROGRAM_H
13 class BfdProgram
: public Program
{
16 BfdProgram(const char *filename
);
20 void load(const char * filename
);
21 bool readNextSection(Section
& sec
) const;
22 const std::string
& functionName(int addr
) const;
29 mutable bfd_section
*sec
;
32 inline BfdProgram::BfdProgram() : abfd(0), sec(0) {}
33 inline BfdProgram::BfdProgram(const char *filename
) : abfd(0), sec(0) {
40 #endif /*AVR_BFDPROGRAM_H*/