NO

Author Topic: compiling to assembly, annotate with source  (Read 3370 times)

hanelyp

  • Guest
compiling to assembly, annotate with source
« on: February 08, 2006, 03:34:16 AM »
When compiling to assembly code, including the C source as comments would be great help in manually tracing through the assembly.  perhaps a command line switch on pocc.

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
compiling to assembly, annotate with source
« Reply #1 on: February 08, 2006, 09:10:22 PM »
Maybe. Another approach is to produce a normal OBJ file with the /Zd option, and then use PODUMP -disasm <somename>.OBJ. If <somename>.C can be located by PODUMP, you should see source code mixed with assembly code. This is what I use myself...

Pelle
/Pelle