Messages in this thread | | | From | Bartlomiej Zolnierkiewicz <> | Subject | Re: Linux 2.6.3-rc1 | Date | Sun, 8 Feb 2004 23:51:48 +0100 |
| |
> >>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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |