[PATCH RFA] gdb.base/signals.exp: explicitly set count = 0

Orjan Friberg orjan.friberg@axis.com
Fri Mar 16 01:08:00 GMT 2001


Fernando Nasser wrote:
> 
> Orjan Friberg wrote:
> >
> > gdb.base/signals.exp runs the main function in signals.c twice.
> > signal.c contains a static variable count which is initialized to 0.
> > The second time the main function is run, the test case relies on count
> > being 0, which depends on how runto_main is implemented for the target.
> > My target does a simple "jump *main", which obviously doesn't
> > re-initialize count to 0.  This patch sets count to 0 explicitly.
> >
> > Ok to commit?
> >
> 
> Yes.
> 

Committed.  Thanks.

-- 
Orjan Friberg              E-mail: orjan.friberg@axis.com
Axis Communications AB     Phone:  +46 46 272 17 68



More information about the Gdb-patches mailing list