This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Build sh-elf with -Werror


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]