Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

From: Andrew Morton
Date: Mon Dec 12 2005 - 16:10:05 EST


"Rafael J. Wysocki" <rjw@xxxxxxx> wrote:
>
> > It's best to actually send a copy of line 620 - kernels vary a lot, and
> > many developers won't have that particualr -mm tree handy.
> >
> > The way I normally do this is to do `gdb vmlinux' and then `l
> > *0xffffffff880ad9d0'.
>
> Does it work for modules too?

Ah. There are certainly ways of doing this - see the kgdb documentation.
Or you can work out the module load address, gdb the module and do the
appropriate arithmetic I guess.

Generally I just statically link anything which I want to play with.

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