Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242667
b: refs/heads/master
c: 21431c2
h: refs/heads/master
i:
  242665: cdec9de
  242663: 4ca14dd
v: v3
  • Loading branch information
Jason Wessel committed Mar 25, 2011
1 parent f78516c commit 2dac91b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 27029c339b1beebe79bb4e64422ad1bb8d0b6440
refs/heads/master: 21431c2900a0b669080b5bfaae2a7d9d9c026e9b
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
memcpy(mem, (void *)regs + dbg_reg_def[regno].offset,
dbg_reg_def[regno].size);

switch (regno) {
#ifdef CONFIG_X86_32
switch (regno) {
case GDB_SS:
if (!user_mode_vm(regs))
*(unsigned long *)mem = __KERNEL_DS;
Expand All @@ -135,8 +135,8 @@ char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
case GDB_FS:
*(unsigned long *)mem = 0xFFFF;
break;
#endif
}
#endif
return dbg_reg_def[regno].name;
}

Expand Down

0 comments on commit 2dac91b

Please sign in to comment.