This is the mail archive of the gdb@sources.redhat.com 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]

Uninitialized variable in CRIS port


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


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