Am 19.04.2010 20:12, schrieb Andreas Jaeger:
(gdb) disassemble /r apbt_cpuhp_notify Dump of assembler code for function apbt_cpuhp_notify: 0xc02240f0<apbt_cpuhp_notify+0>: 00 00 add %al,(%eax) 0xc02240f2<apbt_cpuhp_notify+2>: 00 00 add %al,(%eax) 0xc02240f4<apbt_cpuhp_notify+4>: 00 00 add %al,(%eax) 0xc02240f6<apbt_cpuhp_notify+6>: 00 00 add %al,(%eax) 0xc02240f8<apbt_cpuhp_notify+8>: 00 00 add %al,(%eax) 0xc02240fa<apbt_cpuhp_notify+10>: 00 00 add %al,(%eax) 0xc02240fc<apbt_cpuhp_notify+12>: 00 00 add %al,(%eax) 0xc02240fe<apbt_cpuhp_notify+14>: 00 00 add %al,(%eax) 0xc0224100<apbt_cpuhp_notify+16>: 00 00 add %al,(%eax)
Looks like gdb reads the wrong values from /proc/kcore. Could you give crash live debugging a try? Just invoking crash with the kernel should work: % crash -s /boot/vmlinux-2.6.34-rc4-4-desktop crash> p jiffies The disassemble feature of GDB should also work without /proc/kcore, just with the kernel image. Doesn't it? Regards, Bernhard -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org