https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293536

--- Comment #6 from Martin Cracauer <[email protected]> ---
Right. So first of all there is
  set debug separate-debug-file
which will show you what kgdb loads without having to resort to truss or
ktrace.

It shows that 
  add-symbol-file /var/tmp/mac_bsdextended.ko.debug
never actually does anything.


If you add the symbol file before the guest loads the module then it is never
associated with the addresses, backtraces in that module will neither have
symbols nor source locations.


If on the other hand you add the symbol file after the guest loads the module
then automatic loading from default locations has already taken place and the
add-symbol-file does not override.


It seems that overriding existing debug files on add-symbol-file is one good
way to go here. What do you think?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to