Page MenuHomeFreeBSD

D43757.1795132058.diff
No OneTemporary

Authored By
Unknown
Size
481 B
Referenced Files
None
Subscribers
None

D43757.1795132058.diff

diff --git a/stand/common/load_elf.c b/stand/common/load_elf.c
--- a/stand/common/load_elf.c
+++ b/stand/common/load_elf.c
@@ -639,7 +639,10 @@
continue;
/* We want to load PT_LOAD segments only.. */
- if (phdr[i].p_type != PT_LOAD)
+ /* If it is kernel, we load the note to make debugger match with
+ * coredump */
+ if (phdr[i].p_type != PT_LOAD &&
+ !(ef->kernel && phdr[i].p_type == PT_NOTE))
continue;
if (module_verbose >= MODULE_VERBOSE_FULL) {

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 19, 11:47 PM (20 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41855215
Default Alt Text
D43757.1795132058.diff (481 B)

Event Timeline