Re: Linux 2.6.3-rc1

From: Bartlomiej Zolnierkiewicz
Date: Sun Feb 08 2004 - 17:47:03 EST



> >>EIP is at ide_pci_register_host_proc+0x27/0x40 [ide_core]
> >
> > Can you disassemble ide_pci_register_host_proc using gdb?
>
> I'd need a walkthrough, not very familiar with gdb other than getting a
> backtrace out of it

Make sure to enable following options in kernel config:
CONFIG_DEBUG_KERNEL ("Kernel hacking"->"Kernel debugging" ) and
CONFIG_DEBUG_INFO ("Kernel debugging"->"Compile the kernel with debug info").

Recompile kernel.

$ gdb /usr/src/linux/vmlinux
(gdb) disassemble ide_pci_register_host_proc

That's all :-).

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