Files
ftmemsim-valgrind/gdbserver_tests/mcbreak.stdoutB.exp
Julian Seward 2ee9e90486 Implement a GDB server in Valgrind. See #214909.
(Philippe Waroquiers, philippe.waroquiers@skynet.be)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11727
2011-05-06 21:02:55 +00:00

57 lines
1.7 KiB
Plaintext

Remote debugging using | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-mcbreak
0x........ in _start () from ...start file...
Breakpoint 1 at 0x........: file t.c, line 112.
Breakpoint 2 at 0x........: file t.c, line 117.
Continuing.
Breakpoint 1, main (argc=1, argv=0x........) at t.c:112
112 breakme(__LINE__); //break1
breakme (line=112) at t.c:100
100 if (line > 1000)
old_pc has changed after step
102 }
old_pc has changed after step
main (argc=1, argv=0x........) at t.c:113
113 for (i = len-1; i >= 0; i=i-2)
old_pc has changed after step
114 undefined[i] = undef;
$1 = void
$2 = "undefined"
$3 = 8
113 for (i = len-1; i >= 0; i=i-2)
old_pc has changed after step
114 undefined[i] = undef;
old_pc has changed after step
113 for (i = len-1; i >= 0; i=i-2)
$4 = void
$5 = "undefi?e?"
$6 = 6
114 undefined[i] = undef;
$7 = void
$8 = "undefi?e?"
$9 = 4
113 for (i = len-1; i >= 0; i=i-2)
$10 = void
$11 = "unde?i?e?"
$12 = 4
$13 = 1
$14 = void
Continuing.
Breakpoint 2, main (argc=1, argv=0x........) at t.c:117
117 breakme(__LINE__); //break2
breakme (line=117) at t.c:100
100 if (line > 1000)
Run till exit from #0 breakme (line=117) at t.c:100
main (argc=1, argv=0x........) at t.c:119
119 if (argc > 1)
Delete all breakpoints? (y or n) [answered Y; input not from terminal]
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
0x........ in make_error (s=0x........ "called from level") at t.c:40
40 if (int_und == 0)
43 printf ("%s int_und is not zero\n", s);
old_pc has changed after step
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
0x........ in make_error (s=0x........ "called from main") at t.c:40
40 if (int_und == 0)