lkml.org 
[lkml]   [2001]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: I'd like a bit of help on tracing my oops
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.043 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site