aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-09-16 08:11:54 -0600
committerTom Tromey <tromey@adacore.com>2024-09-16 08:11:54 -0600
commit0f79c44dac44f0ae72c5fc4225d1f7a14889196f (patch)
tree0bc6abfd6ad3d9560306256f8e4f4784fde54f52 /gdb/testsuite/gdb.python
parent3073d684c1013ea325c65fd23756ffb74439b50c (diff)
downloadgdb-0f79c44dac44f0ae72c5fc4225d1f7a14889196f.zip
gdb-0f79c44dac44f0ae72c5fc4225d1f7a14889196f.tar.gz
gdb-0f79c44dac44f0ae72c5fc4225d1f7a14889196f.tar.bz2
Fix typo in py-arch.exp
I found a typo in a test name in py-arch.exp.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/py-arch.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-arch.exp b/gdb/testsuite/gdb.python/py-arch.exp
index 3c58bf1..aef4186 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.*" \