Unix Programming - Map file question

This is Interesting: Free IT 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, 1:19 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






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com