This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Build sh-elf with -Werror
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrew STUBBS <andrew dot stubbs at st dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 2 Nov 2005 09:54:20 -0500
- Subject: Re: PATCH: Build sh-elf with -Werror
- References: <4368D237.8040704@st.com>
On Wed, Nov 02, 2005 at 02:50:31PM +0000, Andrew STUBBS wrote:
> Hi all,
>
> Following my recent mistake with the -batch-silent patch I thought I had
> better check I hadn't missed anything else due to my forgetting
> '--enable-gdb-build-warnings=,-Werror'.
>
> I found that I had not, but that the sh-elf debugger wouldn't build due
> to pre-existing problems. I guess nobody is interested in sh-elf or
> everybody forgets Werror.
The gdb_byte warnings mostly only show up with gcc4.
> The attached patch fixes the problems. Note that monitor.c actually did
> build because it is never built with Werror, but not all the warnings
> were unavoidable.
These are OK. Thanks.
--
Daniel Jacobowitz
CodeSourcery, LLC