Re: Bug in get_insn_opcode.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 02, 2001 at 05:56:48PM +0100, Carsten Langgaard wrote:
> There is a bug in the function get_insn_opcode in traps.c
> 
> As 'epc' is an int pointer here, it should only be increased by 1 (4
> byte) and not by 4 (4*4 = 16 bytes).
> See the patch below.
> 
> /Carsten
>

Good catch!

I am surprised that trap on branch delay slot is rare that we only discover
this bug now ...

Jun 


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux