Lines Matching refs:py
4 # Lib/test/test_jit_gdb.py
31 'python-gdb.py')
205 return findfile('gdb_sample.py')
470 'Ensure that the new-style class _Helper in site.py can be handled'
601 'Verify that the "py-list" command works'
603 cmds_after_breakpoint=['py-list'])
616 'Verify the "py-list" command with one absolute argument'
618 cmds_after_breakpoint=['py-list 9'])
627 'Verify the "py-list" command with two absolute arguments'
629 cmds_after_breakpoint=['py-list 1,3'])
631 self.assertListing(' 1 # Sample script for use by test_gdb.py\n'
637 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
641 'Verify that the "py-up" command works'
643 cmds_after_breakpoint=['py-up'])
646 #[0-9]+ Frame 0x[0-9a-f]+, for file .*gdb_sample.py, line 7, in bar \(a=1, b=2, c=3\)
650 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
652 'Verify handling of "py-down" at the bottom of the stack'
654 cmds_after_breakpoint=['py-down'])
658 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
660 'Verify handling of "py-up" at the top of the stack'
662 cmds_after_breakpoint=['py-up'] * 4)
666 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
670 'Verify "py-up" followed by "py-down"'
672 cmds_after_breakpoint=['py-up', 'py-down'])
675 #[0-9]+ Frame 0x[0-9a-f]+, for file .*gdb_sample.py, line 7, in bar \(a=1, b=2, c=3\)
677 #[0-9]+ Frame 0x[0-9a-f]+, for file .*gdb_sample.py, line 10, in baz \(args=\(1, 2, 3\)\)
685 'Verify that the "py-bt" command works'
687 cmds_after_breakpoint=['py-bt'])
690 #[0-9]+ Frame 0x[0-9a-f]+, for file .*gdb_sample.py, line 7, in bar \(a=1, b=2, c=3\)
692 #[0-9]+ Frame 0x[0-9a-f]+, for file .*gdb_sample.py, line 4, in foo \(a=1, b=2, c=3\)
694 #[0-9]+ Frame 0x[0-9a-f]+, for file .*gdb_sample.py, line 12, in <module> \(\)
702 'Verify that the "py-print" command works'
704 cmds_after_breakpoint=['py-print args'])
708 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
713 cmds_after_breakpoint=['py-up', 'py-print c', 'py-print b', 'py-print a'])
721 cmds_after_breakpoint=['py-print __name__'])
729 cmds_after_breakpoint=['py-print len'])
738 cmds_after_breakpoint=['py-locals'])
742 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
747 cmds_after_breakpoint=['py-up', 'py-locals'])