Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322275
b: refs/heads/master
c: 949616c
h: refs/heads/master
i:
  322273: d542170
  322271: 41b73a1
v: v3
  • Loading branch information
Tiejun Chen authored and Benjamin Herrenschmidt committed Aug 24, 2012
1 parent f531586 commit 53cb45d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 572b411cb4f1b208bb8ea278752f956b3554371e
refs/heads/master: 949616cf2d3095d1bb6b3d155c1cc963abd98b5c
15 changes: 15 additions & 0 deletions trunk/arch/powerpc/kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,21 @@ static int computeSignal(unsigned int tt)
return SIGHUP; /* default for things we don't know about */
}

/**
*
* kgdb_skipexception - Bail out of KGDB when we've been triggered.
* @exception: Exception vector number
* @regs: Current &struct pt_regs.
*
* On some architectures we need to skip a breakpoint exception when
* it occurs after a breakpoint has been removed.
*
*/
int kgdb_skipexception(int exception, struct pt_regs *regs)
{
return kgdb_isremovedbreak(regs->nip);
}

static int kgdb_call_nmi_hook(struct pt_regs *regs)
{
kgdb_nmicallback(raw_smp_processor_id(), regs);
Expand Down

0 comments on commit 53cb45d

Please sign in to comment.