[binutils-gdb] Fix typo in py-arch.exp
Tom Tromey
tromey@sourceware.org
Mon Sep 16 14:15:28 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0f79c44dac44f0ae72c5fc4225d1f7a14889196f
commit 0f79c44dac44f0ae72c5fc4225d1f7a14889196f
Author: Tom Tromey <tromey@adacore.com>
Date: Mon Sep 16 08:11:54 2024 -0600
Fix typo in py-arch.exp
I found a typo in a test name in py-arch.exp.
Diff:
---
gdb/testsuite/gdb.python/py-arch.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/testsuite/gdb.python/py-arch.exp b/gdb/testsuite/gdb.python/py-arch.exp
index 3c58bf1281f..aef4186d025 100644
--- a/gdb/testsuite/gdb.python/py-arch.exp
+++ b/gdb/testsuite/gdb.python/py-arch.exp
@@ -28,7 +28,7 @@ if ![runto_main] {
# internal GDB assert.
gdb_py_test_silent_cmd "python empty = gdb.Architecture()" "get empty arch" 0
gdb_test "python print(repr (empty))" "<gdb\\.Architecture \\(invalid\\)>" \
- "Test empty achitecture __repr__ does not trigger an assert"
+ "Test empty architecture __repr__ does not trigger an assert"
gdb_test "python print(empty.name())" ".*Architecture is invalid.*" \
"Test empty architecture.name does not trigger an assert"
gdb_test "python print(empty.disassemble())" ".*Architecture is invalid.*" \
More information about the Gdb-cvs
mailing list