From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15861 invoked by alias); 10 Jul 2003 23:07:18 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15854 invoked from network); 10 Jul 2003 23:07:18 -0000 Received: from unknown (HELO planck.amplepower.com) (216.39.162.139) by sources.redhat.com with SMTP; 10 Jul 2003 23:07:18 -0000 Received: from [192.168.8.30] (helo=knuth.amplepower.com ident=roth) by planck.amplepower.com with esmtp (Exim 3.36 #1 (Debian)) id 19akFi-0003ny-00; Thu, 10 Jul 2003 15:51:02 -0700 Date: Thu, 10 Jul 2003 23:07:00 -0000 From: "Theodore A. Roth" X-X-Sender: roth@knuth.amplepower.com To: Andrew Cagney cc: gdb-patches@sources.redhat.com Subject: Re: [commit] Simplify gdbarch.sh a tiny bit In-Reply-To: <3F0DE1F3.2010401@redhat.com> Message-ID: References: <3F0DE1F3.2010401@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-07/txt/msg00227.txt.bz2 On Thu, 10 Jul 2003, Andrew Cagney wrote: > Hello, > > The attached simplfies gdbarch.sh a tiny bit - it uses gdb_assert > instead of internal_error in a few places (from memory gdbarch.sh was > written before gdb_assert was added). I'm getting a build failure now: gcc -c -g -O2 -I. -I../../gdb -I../../gdb/config -DLOCALEDIR="\"/home/roth/local/avr/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../intl -I../../gdb/../intl -DMI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Werror ../../gdb/gdbarch.c cc1: warnings being treated as errors ../../gdb/gdbarch.c: In function `gdbarch_deprecated_max_register_raw_size_p': ../../gdb/gdbarch.c:3425: warning: comparison between pointer and integer ../../gdb/gdbarch.c: In function `gdbarch_deprecated_max_register_virtual_size_p': ../../gdb/gdbarch.c:3448: warning: comparison between pointer and integer ../../gdb/gdbarch.c: In function `gdbarch_deprecated_call_dummy_stack_adjust_p': ../../gdb/gdbarch.c:3805: warning: comparison between pointer and integer make: *** [gdbarch.o] Error 1 Is this related to your change? Ted Roth