Uninitialized variable in CRIS port
Andrew Cagney
ac131313@cygnus.com
Wed Sep 19 14:55:00 GMT 2001
Trying to compile the cris-elf target (configure ...
--enable-gdb-build-warnings=,-Werror) showed up a number of warnings.
The most serious is probably:
/home/scratch/GDB/src/gdb/cris-tdep.c: In function
`reg_mode_add_sub_cmp_and_or_move_op':
/home/scratch/GDB/src/gdb/cris-tdep.c:3054: warning: `operand1' might be
used uninitialized in this function
checking the code, the problem looks real.
just fyi,
Andrew
More information about the Gdb
mailing list