NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/55930: KERNEL_DIR should co-locate module debug stuff with the modules



The following reply was made to PR kern/55930; it has been noted by GNATS.

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/55930: KERNEL_DIR should co-locate module debug stuff with
 the modules
Date: Mon, 18 Jan 2021 14:07:42 -0800 (PST)

 > 	It does mean, that there will now be two places for debug info,
 > 	one place for userland executables and libraries, and another
 > 	place for modules However, this should not be a problem since
 > 	the module stuff isn't userland anyway.
 
 Actually, it might actually help when using the gdb scripts that load
 module symbol tables, since module_base will point to the directory
 from which the module executable code is loaded.  The debug info would
 not be found if it is left in /usr/libdata/debug/... (if I understand
 the sys/gdbscripts/modload script correctly).
 
 
 +--------------------+--------------------------+-----------------------+
 | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
 | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
 | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
 +--------------------+--------------------------+-----------------------+
 


Home | Main Index | Thread Index | Old Index