Home | History | Annotate | Download | only in expression

Lines Matching refs:child

43         # So that the child gets torn down after the test.
44 self.child = pexpect.spawn('%s %s %s' % (self.lldbExec, self.lldbOption, exe))
45 child = self.child
47 # Turn on logging for what the child sends back.
49 child.logfile_read = sys.stdout
51 child.expect_exact(prompt)
52 child.sendline('breakpoint set -f %s -l %d' % (self.source, self.line_to_break))
53 child.expect_exact(prompt)
54 child.sendline('run')
55 child.expect_exact(prompt)
63 child.sendline(expr_cmd1)
64 child.expect_exact(prompt)
65 child.sendline(expr_cmd2)
66 child.expect_exact(prompt)
67 child.sendline('process continue')
68 child.expect_exact(prompt)
70 child.sendline('quit')
72 self.child.expect(pexpect.EOF)
79 self.child = None
88 # So that the child gets torn down after the test.
89 self.child = pexpect.spawn('gdb --nx %s' % exe)
90 child = self.child
92 # Turn on logging for what the child sends back.
94 child.logfile_read = sys.stdout
96 child.expect_exact(prompt)
97 child.sendline('break %s:%d' % (self.source, self.line_to_break))
98 child.expect_exact(prompt)
99 child.sendline('run')
100 child.expect_exact(prompt)
108 child.sendline(expr_cmd1)
109 child.expect_exact(prompt)
110 child.sendline(expr_cmd2)
111 child.expect_exact(prompt)
112 child.sendline('continue')
113 child.expect_exact(prompt)
115 child.sendline('quit')
116 child.expect_exact('The program is running. Exit anyway?')
117 child.sendline('y')
119 self.child.expect(pexpect.EOF)
126 self.child = None