also sprach Alan Stern <[EMAIL PROTECTED]> [2004.10.01.2026 +0200]:
> One way to do this is to run "gdb hcd.o" from within the
> drivers/usb/core directory, and then do "disass
> hcd_endpoint_disable" at the prompt.  The output isn't very
> readable because no external addresses will be given.  But it's
> better than nothing.

Are we talking about the modules directory, or the kernel source
tree? I have the former (obviously), but the latter does not exist
-- this is the Debian stock kernel after all.

And there is no hcd.o, so I assumed uhci-hci.ko, but with no success:

(gdb) file uhci-hcd.ko 
Reading symbols from uhci-hcd.ko...(no debugging symbols found)...done.
(gdb) disass hcd_endpoint_disable
No symbol table is loaded.  Use the "file" command.

> It's also possible to get a disassembly listing using objdump's -d option.  
> I don't know any way to restrict it to a particular routine, though.

I put the disassembly output at

  ftp://ftp.madduck.net/scratch/usbcode.ko.disass.bz2
  ftp://ftp.madduck.net/scratch/uhci-hcd.ko.disass.bz2

hope this helps.

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
 
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: [EMAIL PROTECTED]
 
"in the country of the blind,
 the one-eyed man is not king.
 he is taken to be a hallucinating lunatic."
                                                     -marshall mcluhan

Attachment: signature.asc
Description: Digital signature

Reply via email to