Page MenuHomeFreeBSD

devel/gdb: Fix kernel backend registrations.
ClosedPublic

Authored by jhb on Dec 3 2021, 11:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 1:29 AM
Unknown Object (File)
Wed, Apr 10, 2:33 AM
Unknown Object (File)
Mar 4 2024, 3:48 PM
Unknown Object (File)
Mar 4 2024, 3:48 PM
Unknown Object (File)
Mar 3 2024, 10:13 PM
Unknown Object (File)
Mar 3 2024, 10:07 PM
Unknown Object (File)
Dec 20 2023, 3:55 AM
Unknown Object (File)
Oct 24 2023, 8:16 PM

Details

Summary

Per-architecture kernel backends are registered via GDB initialization
routines. The GDB build uses a regular expression to identify the
initialization routines invoked during startup. This regular
expression requires a single space between the function name and it's
empty argument list. However, the initializers for aarch64, arm,
mips, and riscv had two spaces before the empty argument list causing
those backends to not be registered and the corresponding architecture
kernels to not be recognized. Fix by removing the spurious spaces.

Reported by: kevans

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 43132
Build 40020: arc lint + arc unit