lkml.org 
[lkml]   [2004]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux 2.6.3-rc1
Date

> >>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/

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