[pushed] Fix typo in py-arch.exp

Tom Tromey tromey@adacore.com
Mon Sep 16 14:15:11 GMT 2024


I found a typo in a test name in py-arch.exp.
---
 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.*" \
-- 
2.45.0



More information about the Gdb-patches mailing list