2005-12-12 22:00:16

by Ben Pfaff

[permalink] [raw]
Subject: Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

"Rafael J. Wysocki" <[email protected]> writes:

>Namely, it followed from the oops that the problem
> occured at the address {:ehci_hcd:ehci_irq+224}, which is at the
> offset 224 wrt ehci_irq, so I did:
>
> gdb drivers/usb/host/ehci-hcd.o
>
> In gdb I did:
>
> info line ehci_irq
>
> and it told me the address the line started at, so I added 224 to it and
> got the line 620.

You can do the arithmetic yourself like that, but it's easier to
just type
info line *ehci_irq+224
and let gdb do it for you.
--
Ben Pfaff
email: [email protected]
web: http://benpfaff.org