Messages in this thread | | | Subject | Disassembling with gdb (Re: Linux 2.6.3-rc1) | From | Matthew Reppert <> | Date | Sun, 08 Feb 2004 19:53:51 -0600 |
| |
On Sun, 2004-02-08 at 15:55, Andre Tomt wrote: > Bartlomiej Zolnierkiewicz wrote: > >>Unable to handle kernel virtual paging request at virtual address > 24748b24 > >> > >>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
- Go to the directory you compiled the kernel in - do: gdb vmlinux - you're in gdb, now do: 'x/i ide_pci_register_host_proc' This will disassemble starting at ide_pci_register_host_proc, and needs (I believe) debugging symbols present ... well, try it, and if gdb complains that it can't, that's that - Keep entering "x/i"; this will make gdb keep disassembling the next instruction. Keep doing this until you're past <ide_pci_register_host_proc+0x27>, I assume. - to get out of gdb, hit ^D or type "quit"
Matt [unhandled content-type:application/pgp-signature] | |