From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27798 invoked by alias); 30 Mar 2010 22:53:25 -0000 Received: (qmail 27789 invoked by uid 22791); 30 Mar 2010 22:53:24 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from dair.pair.com (HELO dair.pair.com) (209.68.1.49) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 30 Mar 2010 22:53:19 +0000 Received: (qmail 76668 invoked by uid 20157); 30 Mar 2010 22:53:17 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 30 Mar 2010 22:53:17 -0000 Date: Tue, 30 Mar 2010 22:53:00 -0000 From: Hans-Peter Nilsson To: Mike Frysinger cc: gdb-patches@sourceware.org Subject: Re: [PATCH] sim: constify watchpoint interrupt names In-Reply-To: <1269899363-10054-1-git-send-email-vapier@gentoo.org> Message-ID: References: <1269899363-10054-1-git-send-email-vapier@gentoo.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg01094.txt.bz2 On Mon, 29 Mar 2010, Mike Frysinger wrote: > * sim-watch.h (struct _sim_watchpoints): Add const to interrupt_names. Either the above or one of your other committs to this area, caused, for v850-elf (beware of linewrapped cutnpaste): gcc -c -DHAVE_CONFIG_H -DPROFILE=1 -DWITH_PROFILE=-1 -DWITH_DEFAULT_ALIGNMENT=NONSTRICT_ALIGNMENT -DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31 -DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DDEFAULT_INLINE=0 -DWITH_RESERVED_BITS=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -DDEBUG -I/tmp/hpautotest-sim/src/sim/v850/../../newlib/libc/sys/sysnecv850 -I. -I/tmp/hpautotest-sim/src/sim/v850 -I../common -I/tmp/hpautotest-sim/src/sim/v850/../common -I../../include -I/tmp/hpautotest-sim/src/sim/v850/../../include -I../../bfd -I/tmp/hpautotest-sim/src/sim/v850/../../bfd -I../../opcodes -I/tmp/hpautotest-sim/src/sim/v850/../../opcodes -g -O2 /tmp/hpautotest-sim/src/sim/v850/interp.c /tmp/hpautotest-sim/src/sim/v850/interp.c: In function 'do_interrupt': /tmp/hpautotest-sim/src/sim/v850/interp.c:70: error: invalid operands to binary - /tmp/hpautotest-sim/src/sim/v850/interp.c: In function 'sim_open': /tmp/hpautotest-sim/src/sim/v850/interp.c:210: warning: assignment from incompatible pointer type make[3]: Leaving directory `/tmp/hpautotest-sim/v850-elf/sim/v850' make[2]: Leaving directory `/tmp/hpautotest-sim/v850-elf/sim' make[1]: Leaving directory `/tmp/hpautotest-sim/v850-elf' make[3]: *** [interp.o] Error 1 Host gcc is gcc-4.4.3 (actually gcc-4.4.3-4.fc12.x86_64). brgds, H-P