[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] Enhanced debugging for assembler files
On 31 Mar 2006, at 03:56, Jimi Xenidis wrote:
This patch enhances how gdb handles assembler and has no performance
issues and no size issues after striping.
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Does gcc not pass '-g' through to the assembler backend? When I added
-Wa,-gdwarf-2 I saw no change in file sizes.
If not, then still would -Wa,-g not be better? It should use the best
debug format for the target system, just as -g does for gcc. Otherwise
I would think we should be using -gdwarf-2 for C files as well.
Xen-devel mailing list