Page MenuHomeFreeBSD

kernel: Move the debug stuff into a common script
Needs ReviewPublic

Authored by imp on Feb 24 2024, 8:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 29, 10:48 AM
Unknown Object (File)
Jun 4 2024, 7:27 PM
Unknown Object (File)
Jun 2 2024, 4:45 PM
Unknown Object (File)
Jun 1 2024, 10:23 PM
Unknown Object (File)
May 24 2024, 4:15 AM
Unknown Object (File)
May 19 2024, 5:54 PM
Unknown Object (File)
May 19 2024, 5:54 PM
Unknown Object (File)
May 17 2024, 3:22 AM
Subscribers

Details

Summary

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56350
Build 53238: arc lint + arc unit

Event Timeline

imp requested review of this revision.Feb 24 2024, 8:45 PM

Rebase after dropping the addition of the dwarf 3 symbols. Just note it here
since it has the same effect in one fewer changes.

I would call the script debuginfo.ldscript instead of debug.

sys/conf/debug.ldscript
9

Is this still relevant?

sys/conf/debug.ldscript
9

Likely not.

sys/conf/debug.ldscript
9

Likely not.

Since we have them in the vdso_*.ldscript files, maybe we should remove them from there too?

sys/conf/debug.ldscript
9

Could you point me specifically at the place where in vdso scripts we include stabs?

sys/conf/debug.ldscript
9

No. We have .comment there

Drop .comment...
Maybe it should be discard?

sys/conf/debug.ldscript
9

Ah, we explicitly discard it there... my mistake.

I still think that the script should be renamed to 'debuginfo'.

In D44071#1007601, @kib wrote:

I still think that the script should be renamed to 'debuginfo'.

Ah yes. That detail slipped through the cracks. Will correct and respin