Fix typo in gdb.python/py-objfile.exp
authorSergio Durigan Junior <sergiodj@redhat.com>
Wed, 29 Jul 2015 14:16:38 +0000 (10:16 -0400)
committerSergio Durigan Junior <sergiodj@redhat.com>
Wed, 29 Jul 2015 14:16:38 +0000 (10:16 -0400)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-objfile.exp

index ee0af2adc70a94d7c919a2d92dacca7afc338e08..1f9bf988679f78e5616a281ee2c45b8b0524d10f 100644 (file)
@@ -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
index 7dd094c097fe4884ebdfa0f7072f081fc307bb3e..6e6dfe7217ea83b3db84423c107b72942df5a445 100644 (file)
@@ -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" \