aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2015-07-29 10:16:38 -0400
committerSergio Durigan Junior <sergiodj@redhat.com>2015-07-29 10:16:38 -0400
commitdac804dfa6389b71f50b5e169ffa4e239958e774 (patch)
tree1b1dd97a8bc62aaf92d2f4c7ae60a47fff8a11f1 /gdb
parent18206ca3f9367f1488cdfc1475f8da072e7e9636 (diff)
downloadgdb-dac804dfa6389b71f50b5e169ffa4e239958e774.zip
gdb-dac804dfa6389b71f50b5e169ffa4e239958e774.tar.gz
gdb-dac804dfa6389b71f50b5e169ffa4e239958e774.tar.bz2
Fix typo in gdb.python/py-objfile.exp
My last commit d60a92216e5d599fed6b37c58c744debe38a0b24 introduced a regression caused by a typo. This fixes it. Checked in as obvious. Thanks to Pedro for reporting. gdb/testsuite/ChangeLog: 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com> * gdb.python/py-objfile.exp: Fix typo that snuck in from my last commit.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.python/py-objfile.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ee0af2a..1f9bf98 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
+ commit.
+
2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
* gdb.base/batch-preserve-term-settings.exp
diff --git a/gdb/testsuite/gdb.python/py-objfile.exp b/gdb/testsuite/gdb.python/py-objfile.exp
index 7dd094c..6e6dfe7 100644
--- a/gdb/testsuite/gdb.python/py-objfile.exp
+++ b/gdb/testsuite/gdb.python/py-objfile.exp
@@ -106,7 +106,7 @@ if ![runto_main] {
return 0
}
-gdb_py_test_silent_cmd "python objfile = gdb.s()\[0\]" \
+gdb_py_test_silent_cmd "python objfile = gdb.objfiles()\[0\]" \
"Get no-debug objfile file" 1
gdb_test "python print (objfile.owner)" "None" \