Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177295
b: refs/heads/master
c: 0d5e359
h: refs/heads/master
i:
  177293: a4d0e2e
  177291: f158f3f
  177287: 2cde20f
  177279: 00084cf
v: v3
  • Loading branch information
Sonic Zhang authored and Mike Frysinger committed Dec 15, 2009
1 parent b47215c commit 4668f21
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 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: e34132f40b12d6066059f623d73da73de5b71e9a
refs/heads/master: 0d5e35940b3ec3a0695cfcd8f6273ba083638c22
3 changes: 0 additions & 3 deletions trunk/arch/blackfin/include/asm/kgdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@

#include <linux/ptrace.h>

/* gdb locks */
#define KGDB_MAX_NO_CPUS 8

/*
* BUFMAX defines the maximum number of characters in inbound/outbound buffers.
* At least NUMREGBYTES*2 are needed for register packets.
Expand Down
17 changes: 0 additions & 17 deletions trunk/arch/blackfin/kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@
#include <asm/blackfin.h>
#include <asm/dma.h>

/* Put the error code here just in case the user cares. */
int gdb_bfin_errcode;
/* Likewise, the vector number here (since GDB only gets the signal
number through the usual means, and that's not very specific). */
int gdb_bfin_vector = -1;

#if KGDB_MAX_NO_CPUS != 8
#error change the definition of slavecpulocks
#endif

void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs)
{
gdb_regs[BFIN_R0] = regs->r0;
Expand Down Expand Up @@ -369,13 +359,6 @@ void kgdb_roundup_cpu(int cpu, unsigned long flags)
}
#endif

void kgdb_post_primary_code(struct pt_regs *regs, int eVector, int err_code)
{
/* Master processor is completely in the debugger */
gdb_bfin_vector = eVector;
gdb_bfin_errcode = err_code;
}

int kgdb_arch_handle_exception(int vector, int signo,
int err_code, char *remcom_in_buffer,
char *remcom_out_buffer,
Expand Down

0 comments on commit 4668f21

Please sign in to comment.