Re: Help Needed With Opps Decode

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

 



On Saturday 05 February 2005 09:16 pm, Usman S. Ansari wrote:
> My driver (coded as a module) sometime gets an opps message (on i86
> plateform). I decoded EIP, which points to inside one of my driver
> function. I know the offset and can objdump and see assembly instruction.
> My question is how do I relate this assembly instruction to C instruction
> in my driver file.
>

Hi Usman,

Compile the kernel/module with debugging information (-g) and then use the -S 
option in objdump. This will allow you to see the source intermixed with the 
assembler instructions.

tavi

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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