HomeFreeBSD

devel/gdb: Fix kernel backend registrations.

Description

devel/gdb: Fix kernel backend registrations.

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
Reviewed by: pizzamig (maintainer)
Differential Revision: https://reviews.freebsd.org/D33255

Details

Provenance
jhbAuthored on Dec 6 2021, 9:38 PM
Reviewer
pizzamig
Differential Revision
D33255: devel/gdb: Fix kernel backend registrations.
Parents
R11:9f77e9601564: net-im/toxic: upgrade to v0.11.2
Branches
Unknown
Tags
Unknown