[issue8279] python-gdb PyListTests fail

2010-04-17 Thread STINNER Victor
STINNER Victor added the comment: > In GDB 7.1, a gdb.frame object has no more function method (...) Missing function method is not related to gdb version: see #8437 (msg103444). As Martin wrote: let's continue the discussion in issue #8437 ;-) --

[issue8279] python-gdb PyListTests fail

2010-04-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the patch, committed as r80156. As expected, there are still complaints about gdb.Frame. As the original issue is now resolved, I'm closing this issue as fixed, and open a new issue for the remaining failures. -- resolution: -> fixed sta

[issue8279] python-gdb PyListTests fail

2010-04-17 Thread STINNER Victor
STINNER Victor added the comment: In GDB 7.1, a gdb.frame object has no more function method: it's replaced by a name method. Tools/gdb/libpython.py should be modified: Add >>GDB_70 = gdb.VERSION.startswith("7.0")<< at the beginning, and replace is_evalframeex() by: def is_evalframeex(se

[issue8279] python-gdb PyListTests fail

2010-04-17 Thread STINNER Victor
STINNER Victor added the comment: #8434 is a duplicate of this issue. -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mail

[issue8279] python-gdb PyListTests fail

2010-04-15 Thread Dave Malcolm
Dave Malcolm added the comment: New version of patch attached All tests continue to pass for me. I believe this will fix the "py-list", "py-locals", "py-print" commands and their respective tests on Ubuntu; I expect py-up/py-down to still fail due to missing gdb.Frame.select method. ---

[issue8279] python-gdb PyListTests fail

2010-04-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: Dave, file 16727 fails to apply, but apparently still contains necessary pieces. Can you please provide an updated version of the patch against the trunk? -- ___ Python tracker

[issue8279] python-gdb PyListTests fail

2010-04-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: The patch in file16727 was applied as part of issue8316. -- ___ Python tracker ___ ___ Python-bugs-

[issue8279] python-gdb PyListTests fail

2010-04-03 Thread Nick Coghlan
Nick Coghlan added the comment: Second error log attached (and the MIME type should finally be set properly to let it display as a text file in the browser) -- ___ Python tracker __

[issue8279] python-gdb PyListTests fail

2010-04-03 Thread Nick Coghlan
Changes by Nick Coghlan : Added file: http://bugs.python.org/file16753/_svn_79729_plus_dm_patch2_test_gdb_errors_amd64_ubuntu_9.10.log ___ Python tracker ___

[issue8279] python-gdb PyListTests fail

2010-04-03 Thread Nick Coghlan
Nick Coghlan added the comment: This may be related to test_gdb problems I am seeing (test_gdb output attached). gdb details: GNU gdb (GDB) 7.0-ubuntu This GDB was configured as "x86_64-linux-gnu". After applying Dave's second patch, those original errors go away, but I get a lot of failure

[issue8279] python-gdb PyListTests fail

2010-04-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: > What is the output of "gdb --version" on this machine? GNU gdb (GDB) 7.0.1-debian This GDB was configured as "x86_64-linux-gnu". The debian package is 7.0.1-2 > $ gdb --batch --eval-command "python print gdb.Frame.function" > --eval-command "python print d

[issue8279] python-gdb PyListTests fail

2010-04-03 Thread Dave Malcolm
Dave Malcolm added the comment: It looks like all of the failures were due to gdb.Frame not having a "function" method. I did some digging, and it appears that this attribute may not yet be in the upstream version of gdb. The gdb/python integration was largely implemented by colleagues of mi

[issue8279] python-gdb PyListTests fail

2010-04-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: I still get failures, after applying file16727. I'm attaching the complete regrtest output. -- versions: +Python 2.7 Added file: http://bugs.python.org/file16745/failures ___ Python tracker

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Dave Malcolm
Dave Malcolm added the comment: I'm attaching a revised version of the patch; this is as before, but takes account of the rename of the sample file from "test_gdb_sample.py" to "gdb_sample.py" in r79557. -- Added file: http://bugs.python.org/file16727/fix-test_gdb_sample-path-and-whi

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Dave Malcolm
Changes by Dave Malcolm : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Dave Malcolm
Dave Malcolm added the comment: Thanks for reviewing the gdb work. I was mistakenly testing using: make ; ./python Lib/test/test_gdb.py which led to path assumptions in the code. I'm now testing with: make ; ./python Lib/test/regrtest.py -v test_gdb I'm attaching a patch which uses tes

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: The other failures look similar, so I'm not reporting them separately for now. -- ___ Python tracker ___ __

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Martin v . Löwis
New submission from Martin v. Löwis : regrtest reports == FAIL: test_basic_command (test.test_gdb.PyListTests) Verify that the "py-list" command works