Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F97835604
D44352.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
568 B
Referenced Files
None
Subscribers
None
D44352.diff
View Options
diff --git a/sys/arm64/arm64/trap.c b/sys/arm64/arm64/trap.c
--- a/sys/arm64/arm64/trap.c
+++ b/sys/arm64/arm64/trap.c
@@ -498,9 +498,15 @@
* Enable debug exceptions if we aren't already handling one. They will
* be masked again in the exception handler's epilogue.
*/
- if (exception != EXCP_BRK && exception != EXCP_WATCHPT_EL1 &&
- exception != EXCP_SOFTSTP_EL1)
+ switch (exception) {
+ case EXCP_BRK:
+ case EXCP_WATCHPT_EL1:
+ case EXCP_SOFTSTP_EL1:
+ break;
+ default:
dbg_enable();
+ break;
+ }
switch (exception) {
case EXCP_FP_SIMD:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 2, 11:22 AM (21 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13336559
Default Alt Text
D44352.diff (568 B)
Attached To
Mode
D44352: arm64: Use a switch to decide when to enable debug
Attached
Detach File
Event Timeline
Log In to Comment