Creating Assembly Code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have an oops output that I'd like to understand.
The oops output shows something like MyFunc+34/78
The ksymoops man page explains the "34" and "78" properly.
 
How can I see exactly where in my code this is ?
I want to see my source code along with the assembler code
 
After some digging, I added in my Makefile the following lines
    %.s: %.c
     $(CC) $(CPPFLAGS) $(CFLAGS) -g -S $^
 
    %.x: %.s
     as -a $^ > $@
That almost does it, but not quite.
What am I missing ?
Is there a better way to produce this output ?
BTW: Which line in the source code should be considered as the base for "+34" ?
 

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux