• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: IOEthernetController and USB problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: IOEthernetController and USB problem


  • Subject: RE: IOEthernetController and USB problem
  • From: Quinn <email@hidden>
  • Date: Mon, 11 Mar 2002 16:34:27 +0000

At 11:04 -0500 11/3/02, Beard Rex (Aepix) wrote:
My crash is not from an end customer. It is from me during
development. I don't have a second Mac to attach for a debugger.
But if I simply knew which of my own functions the crash
occurred in, I'd be farther along (and it is my own function).

The panic text reports the
function addresses, what I'd like to see is a text representation
of my drivers symbol table so that I can figure out what
function is at which address.

Every compiler I've ever used
was able to produce a human readable symbol table map.
But I can't see how to do that with the Project Builder
compiler.

You can get a link map out of PB however that won't help because your kernel extension is relocated when it's loaded into the kernel. I strongly recommend you beg/borrow/steal a second Mac (any G3 will do) to assist with two-machine debugging. However, if that's not possible you can still do what you want using the kmodsyms and nm command line tools.

kmodsyms -o MyModuleSyms /Path/To/My/KEXTs/Binary
nm MyModuleSyms

Note that your kernel extension will have loaded in memory for this to be useful. Furthermore, your kernel extension will probably load at a different address each time you load/unload it, so you need to do this every time.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >RE: IOEthernetController and USB problem (From: "Beard Rex (Aepix)" <email@hidden>)

  • Prev by Date: RE: IOEthernetController and USB problem
  • Next by Date: OTScheduleSystemTask
  • Previous by thread: RE: IOEthernetController and USB problem
  • Next by thread: TCPIP Load only when needed
  • Index(es):
    • Date
    • Thread