Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181120
b: refs/heads/master
c: a4ae2b2
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Jan 19, 2010
1 parent e118208 commit bd6160c
Show file tree
Hide file tree
Showing 3 changed files with 5 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: d6db8888c8957fbdcd611e1321a6f6a0d6fb7e15
refs/heads/master: a4ae2b2b18d1766768987dc5de42dfa3c2a6d9f7
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/sh5/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ trap_jtable:
.rept 6
.long do_exception_error /* 0x880 - 0x920 */
.endr
.long do_software_break_point /* 0x940 */
.long breakpoint_trap_handler /* 0x940 */
.long do_exception_error /* 0x960 */
.long do_single_step /* 0x980 */

Expand Down
5 changes: 3 additions & 2 deletions trunk/arch/sh/kernel/ptrace_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,10 @@ asmlinkage void do_single_step(unsigned long long vec, struct pt_regs *regs)
}

/* Called with interrupts disabled */
asmlinkage void do_software_break_point(unsigned long long vec,
struct pt_regs *regs)
BUILD_TRAP_HANDLER(breakpoint)
{
TRAP_HANDLER_DECL;

/* We need to forward step the PC, to counteract the backstep done
in signal.c. */
local_irq_enable();
Expand Down

0 comments on commit bd6160c

Please sign in to comment.