]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Read the breakpoint instruction to determine its length in BKPT_SKIP.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 5 Feb 2020 20:06:35 +0000 (20:06 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 5 Feb 2020 20:06:35 +0000 (20:06 +0000)
commit37bd6bb849301dbc51ad4a0fbf39f462ab3134cd
tree8677c35afa759d8d220f718591b96b7a5735c5fa
parent7283901ae94bfa6255bd6099203113d91960be23
Read the breakpoint instruction to determine its length in BKPT_SKIP.

This fixes continuing from debug.kdb.enter=1 after enabling the use of
compressed instructions since the compiler can emit the two byte
c.ebreak instead of the 4 byte ebreak.

Reviewed by: br
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D23507
sys/riscv/include/db_machdep.h