[binutils-gdb] Fix a small bug in gdb.rust/simple.rs

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Sat Sep 1 01:47:00 GMT 2018


*** TEST RESULTS FOR COMMIT aef9346c25b0a0c665bce793c00797f5ab82ed37 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: aef9346c25b0a0c665bce793c00797f5ab82ed37

Fix a small bug in gdb.rust/simple.rs

I noticed that gdb.rust/simple.rs had two local variables named "v".
This didn't previous cause problems, but with a newer rust compiler
this resulted in a test failure.  (It should have failed all along, so
I suppose earlier passes were due to a compiler bug.)

This patch renames the second variable.

gdb/testsuite/ChangeLog
2018-08-31  Tom Tromey  <tom@tromey.com>

	* gdb.rust/simple.rs: Rename second variable "v".



More information about the Gdb-testers mailing list