Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334163
b: refs/heads/master
c: 42c1221
h: refs/heads/master
i:
  334161: 1e1106d
  334159: 338a82c
v: v3
  • Loading branch information
Jason Wessel committed Oct 12, 2012
1 parent d451411 commit 918acd1
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f0a996eeeda214f4293e234df33b29bec003b536
refs/heads/master: 42c12213141d7c88e8f649b4bacd19ba14577658
2 changes: 2 additions & 0 deletions trunk/arch/x86/kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,9 @@ void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
int kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt)
{
int err;
#ifdef CONFIG_DEBUG_RODATA
char opc[BREAK_INSTR_SIZE];
#endif /* CONFIG_DEBUG_RODATA */

bpt->type = BP_BREAKPOINT;
err = probe_kernel_read(bpt->saved_instr, (char *)bpt->bpt_addr,
Expand Down

0 comments on commit 918acd1

Please sign in to comment.