From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6505 invoked by alias); 6 Mar 2009 16:59:09 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 6419 invoked by uid 9674); 6 Mar 2009 16:59:07 -0000 Date: Fri, 06 Mar 2009 16:59:00 -0000 Message-ID: <20090306165905.6365.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-jankratochvil-python: Merge commit 'origin/archer-tromey-python' into archer-jankratochvil-python X-Git-Refname: refs/heads/archer-jankratochvil-python X-Git-Reftype: branch X-Git-Oldrev: 652968509fe26811de7e57036ec8bd801593ccbb X-Git-Newrev: ed5683b8c1957677e95baa80db811894c39a321e X-SW-Source: 2009-q1/txt/msg00281.txt.bz2 List-Id: The branch, archer-jankratochvil-python has been updated via ed5683b8c1957677e95baa80db811894c39a321e (commit) via 7479ac4e385bcaa2846c3aad5c616f571ff53c97 (commit) from 652968509fe26811de7e57036ec8bd801593ccbb (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: gdb/testsuite/gdb.python/python-frame.exp | 17 +++-------------- 1 files changed, 3 insertions(+), 14 deletions(-) First 500 lines of diff: diff --git a/gdb/testsuite/gdb.python/python-frame.exp b/gdb/testsuite/gdb.python/python-frame.exp index e9e063a..674c25e 100644 --- a/gdb/testsuite/gdb.python/python-frame.exp +++ b/gdb/testsuite/gdb.python/python-frame.exp @@ -81,20 +81,9 @@ gdb_test "python print 'result =', f0.pc ()" " = \[0-9\]+" "test Frame.pc" gdb_test "python print 'result =', f0.addr_in_block ()" " = \[0-9\]+" "test Frame.addr_in_block" gdb_test "python print 'result =', f0.older ().equals (f1)" " = True" "test Frame.older" gdb_test "python print 'result =', f1.newer ().equals (f0)" " = True" "test Frame.newer" - -set test "test Frame.read_var - error" -gdb_test_multiple "python print 'result =', f0.read_var ('b')" $test { - -re "ValueError: variable 'b' not found.*Error while executing Python code.\r\n$gdb_prompt $" { - pass $test - } - -re "result = \\\{i = \\\{0, \[0-9\]+\\\}, d = 0\\.\[0-9\]+\\\}\r\n$gdb_prompt $" { - # libm.so debuginfo contains file static symbol `b' from `atnat.h'. - # local `b' would be find first if it would exist so it is more a PASS. - setup_xfail *-*-* - fail $test - } -} - +gdb_test "python print 'result =', f0.read_var ('variable_which_surely_doesnt_exist')" \ + "ValueError: variable 'variable_which_surely_doesnt_exist' not found.*Error while executing Python code." \ + "test Frame.read_var - error" gdb_test "python print 'result =', f0.read_var ('a')" " = 1" "test Frame.read_var - success" gdb_test "python print 'result =', gdb.newest_frame ().equals (f0)" " = True" "test gdb.newest_frame" hooks/post-receive -- Repository for Project Archer.