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: Improvements in binutils by implementing libaddr2line.a


Hi Nick

Using bfd_find_nearest_line() function and with a simple introduction of the
demangle of the name used by the language (C,C++,ADA,etc...) make useless
the use of the libaddr2line library proposed  by me.

I didn't known the existence of this function in the bfd library.
I have defined a new target in the GCC compiler (principal for the ADA
language) and examining the source files of the ada part, in order to adapt
these files for the new environment, I noted the use, for particular target,
of the libaddr2line library but I don't have see this library in the
binutils so I proposed to insert it in the binutils (in binutils is already
present addr2line program).

I don't know why some GCC target (GNAT part) use libaddr2line while, with
minor modification, it is possible to use the bfd library.
The GCC documentation report that the GNU binutils are necessary in some
circumstances, optional in others.
May be the GCC team doesn't want to make GCC generation dependent on the
binutils.

Thank you for your patience and your time spent responding of my mail.

Bye
Massimo




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