This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: Robustify mi-var-cp


On Tue, Jan 09, 2007 at 11:55:21PM +0300, Vladimir Prus wrote:
> 
> This test fails for me, apparently due to compiler version dependency.
> The attached patch makes sure we don't try to access variables 
> that are out of scope. OK?

OK (with a changelog entry)

> +  /* Dummy assignment to keep 'x' in scope. */    

(and a second space after the dot, for old time's sake)


-- 
Daniel Jacobowitz
CodeSourcery


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