This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Uninitialized variable in CRIS port
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: Uninitialized variable in CRIS port
- From: Orjan Friberg <orjan dot friberg at axis dot com>
- Date: Mon, 24 Sep 2001 10:18:08 +0200
- CC: gdb at sources dot redhat dot com
- Organization: Axis Communications AB
- References: <20010921185805.C25083E0B@localhost.cygnus.com>
Andrew Cagney wrote:
>
> > Andrew Cagney wrote:
> > >
> > > /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.
> >
> > Thanks for the reminder. Patch below, confirmed with the weirdest test
> > case I've ever written. Ok to commit on trunk and branch?
>
> That is entirely your decision. I suspect you'll want to commit this
> to both though.
Thanks; committed to both.
--
Orjan Friberg E-mail: orjan.friberg@axis.com
Axis Communications AB Phone: +46 46 272 17 68