On Mon, Jun 14, 2010 at 10:30 AM, Gabor Juhos <[email protected]> wrote:
> 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?

Yes, it catches them....

That warning shows up some interesting cases.... e.g.
gdb-server.c might have real bugs here in step/continue.

Patches to address these would be much appreciated!

CFLAGS="-Wshadow" configure --disable-werror ...



-- 
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to