Re: I'd like a bit of help on tracing my oops

From: Chris Vaill (chris@FanClubIndustries.com)
Date: Mon Nov 12 2001 - 18:17:29 EST


On Mon, 2001-11-12 at 17:06, Christopher Friesen wrote:
>
> At this point I'm not entirely certain how to track down the exact line of code
> where it's dying. If I am reading it right, then the program counter was at
> 90016720, is this correct? Then disassembling vmlinux in gdb should give me the
> instruction corresponding to that address, at which point I need to correlate
> that to the actual code to figure out what's happening, correct? Is it expected
> that disassembling vmlinux will give the same code as doing a make <file.s> in
> the linux tree?

What I like to do is to add -g to CFLAGS in Makefile. Then you can do
an "objdump -S vmlinux" and see the original source interspersed with
the disassembled code.

Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:31 EST