you can try this: gcc -c file.c -g -Wa,-a,-ad > file.s this shows c statements interspersed with asm output. kind regards anupam On Sat, 5 Feb 2005 11:16:21 -0800 (PST), Usman S. Ansari <uansari@xxxxxxxxx> 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. > > Usman -- if you need gmail invites, let me know ! -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/