Re: [Openocd-development] Bug in mww/mwh/mwb

2010-06-14 Thread Gabor Juhos
2010.06.14. 9:35 keltezéssel, Øyvind Harboe írta: > Is there a gcc warning that we could enable to catch > these sort of problems? -Wshadow? "Warn whenever a local variable shadows another local variable, parameter or global variable or whenever a built-in function is shadowed." Regards, Gabor _

[Openocd-development] [PATCH] MIPS: fix a shift value in the MIPS32_R_INST macro

2009-05-04 Thread Gabor Juhos
The current macro uses a wrong value, and thus can generate invalid MIPS instructions. --- src/target/mips32.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/target/mips32.h b/src/target/mips32.h index 7a4dd5e..e13707d 100644 --- a/src/target/mips32.h +++ b/src/targe