From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10266 invoked by alias); 6 Mar 2009 14:26:55 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 10169 invoked by uid 9674); 6 Mar 2009 14:26:54 -0000 Date: Fri, 06 Mar 2009 14:26:00 -0000 Message-ID: <20090306142654.10137.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: b4c50b1c09c24b8796dbc6c5d82572029472c014 X-Git-Newrev: 652968509fe26811de7e57036ec8bd801593ccbb X-SW-Source: 2009-q1/txt/msg00276.txt.bz2 List-Id: The branch, archer-jankratochvil-python has been updated via 652968509fe26811de7e57036ec8bd801593ccbb (commit) via eff2403b365bdda84c08eb68890152ca1a58f1c6 (commit) from b4c50b1c09c24b8796dbc6c5d82572029472c014 (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, 14 insertions(+), 3 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 083fa90..e9e063a 100644 --- a/gdb/testsuite/gdb.python/python-frame.exp +++ b/gdb/testsuite/gdb.python/python-frame.exp @@ -81,9 +81,20 @@ 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" -gdb_test "python print 'result =', f0.read_var ('b')" \ - "ValueError: variable 'b' not found.*Error while executing Python code." \ - "test Frame.read_var - error" + +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 ('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.