Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207129
b: refs/heads/master
c: ab43d14
h: refs/heads/master
i:
  207127: 6c66e3b
v: v3
  • Loading branch information
Jesper Nilsson committed Aug 4, 2010
1 parent 7dbee63 commit 4e6a1a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: e336285db2593bf443b53647d8f6d8006e471d89
refs/heads/master: ab43d14dab1c112b74aae1c2d684a19a26c34c43
16 changes: 8 additions & 8 deletions trunk/arch/cris/arch-v32/kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@
#include <asm/ptrace.h>

#include <asm/irq.h>
#include <arch/hwregs/reg_map.h>
#include <arch/hwregs/reg_rdwr.h>
#include <arch/hwregs/intr_vect_defs.h>
#include <arch/hwregs/ser_defs.h>
#include <hwregs/reg_map.h>
#include <hwregs/reg_rdwr.h>
#include <hwregs/intr_vect_defs.h>
#include <hwregs/ser_defs.h>

/* From entry.S. */
extern void gdb_handle_exception(void);
Expand Down Expand Up @@ -988,26 +988,26 @@ stub_is_stopped(int sigval)
}
/* Only send PC, frame and stack pointer. */
read_register(PC, &reg_cont);
ptr = pack_hex_byte(PC);
ptr = pack_hex_byte(ptr, PC);
*ptr++ = ':';
ptr = mem2hex(ptr, (unsigned char *)&reg_cont, register_size[PC]);
*ptr++ = ';';

read_register(R8, &reg_cont);
ptr = pack_hex_byte(R8);
ptr = pack_hex_byte(ptr, R8);
*ptr++ = ':';
ptr = mem2hex(ptr, (unsigned char *)&reg_cont, register_size[R8]);
*ptr++ = ';';

read_register(SP, &reg_cont);
ptr = pack_hex_byte(SP);
ptr = pack_hex_byte(ptr, SP);
*ptr++ = ':';
ptr = mem2hex(ptr, (unsigned char *)&reg_cont, register_size[SP]);
*ptr++ = ';';

/* Send ERP as well; this will save us an entire register fetch in some cases. */
read_register(ERP, &reg_cont);
ptr = pack_hex_byte(ERP);
ptr = pack_hex_byte(ptr, ERP);
*ptr++ = ':';
ptr = mem2hex(ptr, (unsigned char *)&reg_cont, register_size[ERP]);
*ptr++ = ';';
Expand Down

0 comments on commit 4e6a1a2

Please sign in to comment.