Hello everyone, On the supr of the moment, while reading Project Ideas page on GDB wiki, I've decided to undertake the task of making compilation with -Wshadow flag possible (seeing how that is a simple task for a person unfamiliar with gdb's code base). So, having configured the code with gcc.gnu.org CFLAGS="-D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -Wshadow -Werror -ansi" ./configure I rummaged through it and fixed all naming clashes. In the attachment to this letter is a 1st in the series of 17 patches. The majority of the changes is related to fixing -Wshadow caused errors with two or three fixes related to -Werror and -ansi flags. A couple of quick questions: - What is the common way(etiquette?) of sending a series patches to this list? Do I send them all at once or do I wait 'till the end of discussion about the first one? - Does the part of MAINTAINERS file about patches to libiberty, libdecnumber and intl needing to be sent to GCC still holds true or should I send them to this list? Bfd and binutils? - In case the patches got applied and building with -Wshadow is working would it be possible to add aforementioned CFLAGS to the set of default ones? Andrey Smirnov P.S. Forgot to mention that I checked for regressions by running 'make check' and, to the best of my knowledge, fixed all that have been cased by my patches.