[pushed] Fix typo in py-arch.exp

Message ID 20240916141511.3371180-1-tromey@adacore.com
State New
Headers
Series [pushed] Fix typo in py-arch.exp |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 warning Patch is already merged

Commit Message

Tom Tromey Sept. 16, 2024, 2:15 p.m. UTC
  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(-)
  

Patch

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.*" \