Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2905
b: refs/heads/master
c: 15d20bf
h: refs/heads/master
i:
  2903: 1e50078
v: v3
  • Loading branch information
Domen Puncer authored and Linus Torvalds committed Jun 23, 2005
1 parent 729aae7 commit 7117e02
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: 76381fee7e8feb4c22be636aa5d4765dbe4fbf9e
refs/heads/master: 15d20bfd606c4b4454aeaa05fc86f77994e48c92
4 changes: 2 additions & 2 deletions trunk/arch/h8300/platform/h8300h/ptrace_h8300h.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,12 @@ static unsigned short *getnextpc(struct task_struct *child, unsigned short *pc)
addr = h8300_get_reg(child, regno-1+PT_ER1);
return (unsigned short *)addr;
case relb:
if ((inst = 0x55) || isbranch(child,inst & 0x0f))
if (inst == 0x55 || isbranch(child,inst & 0x0f))
pc = (unsigned short *)((unsigned long)pc +
((signed char)(*fetch_p)));
return pc+1; /* skip myself */
case relw:
if ((inst = 0x5c) || isbranch(child,(*fetch_p & 0xf0) >> 4))
if (inst == 0x5c || isbranch(child,(*fetch_p & 0xf0) >> 4))
pc = (unsigned short *)((unsigned long)pc +
((signed short)(*(pc+1))));
return pc+2; /* skip myself */
Expand Down

0 comments on commit 7117e02

Please sign in to comment.