Entering kdb in early boot
Thomas Skibo
thomasskibo at yahoo.com
Sun Feb 18 18:53:21 UTC 2018
> On Feb 17, 2018, at 4:18 PM, Ian Lepore <ian at freebsd.org> wrote:
>
> On Sat, 2018-02-17 at 15:50 -0800, Thomas Skibo via freebsd-arm wrote:
>> Hello:
>>
>> I noticed that ARM machdep.c doesn’t support entering kdb on boot
>> (boot -d from the loader). I looked to see how other architectures
>> implement it and came up with an easy patch.
>>
>> While trying to get this to work, I discovered that machdep_boot.c
>> doesn’t include opt_ddb.h and so the kernel symbols weren’t getting
>> loaded into the debugger early in the boot (see the call to
>> db_fetch_ksymtab() in freebsd_parse_boot_param()). I have never
>> noticed any problems with symbols in kdb before. I wonder how those
>> symbols eventually get loaded and wonder if now I'm calling it twice.
>>
>> In any case, I’d be happy to put this up on phabricator if you like.
>>
>> —Thomas
>>
>
> Please do.
>
> -- Ian
https://reviews.freebsd.org/D14428 <https://reviews.freebsd.org/D14428>
More information about the freebsd-arm
mailing list