Subject: Getting mixed C & assembly output
To: None <tech-kern@netbsd.org>
From: Steve Grunza <grunza@ulticom.com>
List: tech-kern
Date: 03/20/2001 14:34:43
Does anyone know the incantation to get gcc (running on port-i386) to
generate an output file with the assembly code ready to assemble and
the C code kept as comments? The -S option generates the assembly file
(as does -save-temps) but the original C isn't included. I'm trying
to step through a device driver with ddb and knowing where I am
with respect to the C code would be a big help.
Thanks for any help/info
Steven G.
steven_grunza@ieee.org
PS:
My normal system is down with an fsck'ing disk so please reply either
to steven_grunza@ieee.org or on this list. Thanks again.