[binutils-gdb] Fix comment in gdb.rust/fnfield.exp

Tom Tromey tromey@sourceware.org
Thu Feb 9 19:24:47 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8e77fff268d4aab7951f4d19af9e2f9046c9c0a0

commit 8e77fff268d4aab7951f4d19af9e2f9046c9c0a0
Author: Tom Tromey <tom@tromey.com>
Date:   Thu Feb 9 12:23:08 2023 -0700

    Fix comment in gdb.rust/fnfield.exp
    
    gdb.rust/fnfield.exp has a comment that, I assume, I copied from some
    other test.  This patch fixes it.

Diff:
---
 gdb/testsuite/gdb.rust/fnfield.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.rust/fnfield.exp b/gdb/testsuite/gdb.rust/fnfield.exp
index 413104cca64..5ae0c53b1eb 100644
--- a/gdb/testsuite/gdb.rust/fnfield.exp
+++ b/gdb/testsuite/gdb.rust/fnfield.exp
@@ -13,7 +13,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Test trait object printing.
+# Test calls of function-value fields.
 
 load_lib rust-support.exp
 require allow_rust_tests


More information about the Gdb-cvs mailing list