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: how to obtain output with debug information in dwarf3 format


On Wed, Feb 19, 2003 at 02:06:20PM +0530, Sangeetha Venkateswaran wrote:
>  
> Hi
> I would like to know how to get the debug information in an output in
> dwarf3 format.  If I use gcc3.2,  with the option 
> gcc -o3 -g3 ,  the version of dwarf which appears in the debug_info
> section  header shows 2.  Why does'nt gcc -gdwarf-3 option not work?

This is not a binutils or gdb issue.  The version number near
the start of .debug_info is emitted directly by gcc.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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