For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > August 2006 > Map file question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Map file question
grid

2006-08-17, 7:00 pm

Hi,
I am searching for a compiler/assembler option for gcc & SUN cc to be
able to generate an assembly language listing intermixed with source
code ( -fsource-asm is for gcc I know ),and with assembly instruction
offsets along with source file line and column number information.

eg:

51 f72e 29D0 subl %edx, %eax #65.5
52 f730 0FB6513C movzbl 60(%ecx), %edx #66.15 -Line & Col No.
53 f374 039D0 cmpl %edx,%eax #66.5
54 ...

This makes around jumping to the appropriate function offsets.I suppose
the technical name is a map file,but with source intermised and also
with line number and column number information to map back the assembly
to source.

Would appreciate your helpful inputs/hints.

TIA
~
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com