This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Robustify mi-var-cp
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vladimir Prus <ghost at cs dot msu dot su>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 9 Jan 2007 16:50:48 -0500
- Subject: Re: Robustify mi-var-cp
- References: <200701092355.21537.ghost@cs.msu.su>
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