This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Uninitialized variable in CRIS port
- To: gdb at sources dot redhat dot com
- Subject: Uninitialized variable in CRIS port
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 19 Sep 2001 17:55:09 -0400
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