Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177722401
D43757.1795132058.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
481 B
Referenced Files
None
Subscribers
None
D43757.1795132058.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D43757: Make kernel's note segment to be loaded so that debugger can match with coredump
Attached
Detach File
Event Timeline