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

Re: [patch/testsuite/c++] test script for PR c++/186


On Sun, Nov 23, 2003 at 05:04:45PM -0500, Michael Chastain wrote:
>     -re "= {.*a1 = 100.*b1 = .*b2 = .*}\r\n$gdb_prompt $" {
> 	# gcc 2.95.3 -gstabs+
> 	# gcc 3.3.2 -gdwarf-2
> 	# gcc 3.3.2 -gstabs+
> 	# Someone might argue that gdb is not buggy here but I think it is.
> 	kfail "gdb/186" "print * beta_p at marker close brace #1"
>     }

Then what are you proposing we do?  The variable has been destroyed. 
Its value isn't required to be there any more.  If we had enough scope
information to print an error, maybe we could do that.  But I don't
think we do.


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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