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] sim: constify watchpoint interrupt names


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


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