Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108585
b: refs/heads/master
c: d6a2989
h: refs/heads/master
i:
  108583: 13c3c91
v: v3
  • Loading branch information
Sonic Zhang authored and Bryan Wu committed Aug 5, 2008
1 parent cc5173f commit 6dfad2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe5aeb93024791a5aa69741015db33093198ff47
refs/heads/master: d6a29891369827317659b7833170d2f5f0c7b97f
8 changes: 5 additions & 3 deletions trunk/arch/blackfin/mach-common/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ ENTRY(_ex_single_step)
p5.l = lo(IPEND);
p5.h = hi(IPEND);
r6 = [p5];
cc = bittst(r6, 4);
if cc jump _bfin_return_from_exception;
cc = bittst(r6, 5);
if cc jump _bfin_return_from_exception;

Expand All @@ -186,10 +188,9 @@ ENTRY(_ex_single_step)
if cc jump .Ldo_single_step;
r6 += -1;
cc = r6 < r7;
if cc jump _bfin_return_from_exception;
if cc jump 1f;
.Ldo_single_step:
#endif

#else
/* If we were in user mode, do the single step normally. */
p5.l = lo(IPEND);
p5.h = hi(IPEND);
Expand All @@ -198,6 +199,7 @@ ENTRY(_ex_single_step)
r7 = r7 & r6;
cc = r7 == 0;
if !cc jump 1f;
#endif

/* Single stepping only a single instruction, so clear the trace
* bit here. */
Expand Down

0 comments on commit 6dfad2f

Please sign in to comment.