From: Philippe E. <ph...@us...> - 2003-10-31 23:02:30
|
Update of /cvsroot/oprofile/oprofile/libutil++ In directory sc8-pr-cvs1:/tmp/cvs-serv21539/libutil++ Modified Files: op_bfd.h Log Message: opannotate: error it when --assembly is not requested and no debug information exists Index: op_bfd.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libutil++/op_bfd.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -p -d -r1.24 -r1.25 --- op_bfd.h 22 Sep 2003 14:10:24 -0000 1.24 +++ op_bfd.h 31 Oct 2003 23:02:27 -0000 1.25 @@ -154,6 +154,9 @@ public: /// and do not depend on sizeof(bfd_vma) size_t bfd_arch_bits_per_address() const; + /// return true if binary contain some debug information + bool has_debug_info() const { return debug_info; } + private: /// filename we open std::string filename; |