This is the mail archive of the binutils@sources.redhat.com 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: cplus_demangle decl.



Hi Yannick,

>> I saw that libiberty gives some functions to demangle C++ names, but
>> these functions are not declared in bfd.h nor bfdlink.h, and I
>> cannot find any "iberty.h" or "libiberty.h" on my system, so I add
>> to declare myself the functions from demangle.h in binutils tree.

>You want the header file "demangle.h" in the include directory.

Yes, I know this file. But it is not 'nice' for me to include in my
package this file, as it may change with newer/older binutils version.
Is there a reason for not including this file in the 'install' file list
? If iberty stuff is not supposed to be used outside binutils stuff, I
may not use these demangle functions, and if iberty is supposed to be
for anyone, a corresponding header file (in addition of the libiberty.*)
may be a good thing, no ?



>> By the way, with this BFD version, I have a little problem with the
>> function 'bfd_find_nearest_line': names and files are extracted
>> well, but the line number is alway 0.

>Try downloading the latest source snapshot - the problem may well be
>fixed there. (...)

The problem is fixed in my new download, thank you.



Regards,
--
Yannick


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