This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
.debug_info in gas
- From: Elias Athanasopoulos <eathan at otenet dot gr>
- To: binutils at sources dot redhat dot com
- Cc: Richard Henderson <rth at redhat dot com>
- Date: Thu, 31 Oct 2002 16:23:00 +0200
- Subject: .debug_info in gas
Hi all,
I had discussed this issue with Richard Henderson a while ago. Pasting the
DWARF3 specification:
7.5 Format of Debugging Information
For each compilation unit compiled with a DWARF Version 3 producer,
a contribution is made to the .debug_info section of the object file.
At the moment, gas contibutes only the first source file it assembles
in .debug_info. When I proposed to make the change, in order to have
mulitple records in .debug_info for every compilation unit, Richard
told me that this isn't right. Why?
Elias