Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/arm-bkpt-cond/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


In armv6 and armv7, breakpoint instruction is conditionally executed, so use ALWAYS
condition in the instruction to ensure the breakpoint will be activated whatever the
condition code is in the PSR.  Unfortunately on kirkwood (and possibly other armv5?)
this changes the exception type from Undefined Instruction to Prefetch Abort, so trap.c
must be changed to allow for both possibilities.

After applying this patch, rebuild db and acid, and /arm/9plug if applicable.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].