Skip to contentSkip to conversation

Bug report

DISCUSSION Daniel Glozman 1 participant 1 message Aug 2, 2001

lore
Share & tools
lore
#0 lore raw

Hi,
I was using the arch/mips/kernel/gdb-stub.c,v 1.6 file on the mips Opal design with Little Endian format. I found out that step function was not working properly. So I debugged little and found out the problem:
On line: 536, it says:

if (is_cond && targ != (regs->cp0_epc + 8)) {

The targ and regs->cp0_epc are unsigned integers and "8" is signed by default. So what happend is that the condition didn't work as it is expected.

Please consider it in your feature versions.

Daniel.

---------------------------------
Daniel Glozman [email protected]
SimPOD Inc. www.simpod.com
Tel : +972-4-9937770/203