Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178313256
D62431.1796483551.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
911 B
Referenced Files
None
Subscribers
None
D62431.1796483551.diff
View Options
diff --git a/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c b/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c
--- a/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c
+++ b/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c
@@ -472,8 +472,10 @@
new_pc = rp->pc + 4;
break;
case FASTTRAP_T_BC:
- if (!fasttrap_branch_taken(tp->ftt_bo, tp->ftt_bi, rp))
+ if (!fasttrap_branch_taken(tp->ftt_bo, tp->ftt_bi, rp)) {
+ new_pc = rp->pc + 4;
break;
+ }
/* FALLTHROUGH */
case FASTTRAP_T_B:
if (tp->ftt_instr & 0x01)
@@ -482,8 +484,10 @@
break;
case FASTTRAP_T_BLR:
case FASTTRAP_T_BCTR:
- if (!fasttrap_branch_taken(tp->ftt_bo, tp->ftt_bi, rp))
+ if (!fasttrap_branch_taken(tp->ftt_bo, tp->ftt_bi, rp)) {
+ new_pc = rp->pc + 4;
break;
+ }
/* FALLTHROUGH */
if (tp->ftt_type == FASTTRAP_T_BCTR)
new_pc = rp->ctr;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 5, 3:12 PM (16 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42233563
Default Alt Text
D62431.1796483551.diff (911 B)
Attached To
Mode
D62431: dtrace/powerpc: continue after a conditional branch that isn't taken
Attached
Detach File
Event Timeline