ftmemsim-valgrind/gdbserver_tests/mcbreak.stdoutB.exp
Alexandra Hájková 12addd0644 gdbserver_tests: adjust filtering for the new gdb output
mcsigpass and mcsignopass tests fails due to the slightly different
gdb output. Filter the tests output to make it the same for different
gdb version. Change mcsigpass and mcsignopass .exp to fit filtered
.out.

More generic regexp by Stefan Maksimovic <stefan.maksimovic@rt-rk.com>.

https://bugs.kde.org/show_bug.cgi?id=406355
2019-04-10 18:55:55 +02:00

54 lines
1.5 KiB
Plaintext

Breakpoint 1 at 0x........: file t.c, line 113.
Breakpoint 2 at 0x........: file t.c, line 118.
Continuing.
Breakpoint 1, main (argc=1, argv=0x........) at t.c:113
113 breakme(__LINE__); //break1
breakme (line=113) at t.c:101
101 if (line > 1000)
old_pc has changed after step
103 }
old_pc has changed after step
main (argc=1, argv=0x........) at t.c:114
114 for (i = len-1; i >= 0; i=i-2)
old_pc has changed after step
115 undefined[i] = undef;
$1 = void
$2 = "undefined"
$3 = 8
114 for (i = len-1; i >= 0; i=i-2)
old_pc has changed after step
115 undefined[i] = undef;
old_pc has changed after step
114 for (i = len-1; i >= 0; i=i-2)
$4 = void
$5 = "undefi?e?"
$6 = 6
115 undefined[i] = undef;
$7 = void
$8 = "undefi?e?"
$9 = 4
114 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:118
118 breakme(__LINE__); //break2
Breakpoint 3 at 0x........: file t.c, line 120.
Continuing.
Breakpoint 3, main (argc=1, argv=0x........) at t.c:120
120 if (argc > 1)
Delete all breakpoints? (y or n) [answered Y; input not from terminal]
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
make_error (s=0x........ "called from level") at t.c:41
41 if (int_und == 0)
44 printf ("%s int_und is not zero\n", s);
old_pc has changed after step
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
make_error (s=0x........ "called from main") at t.c:41
41 if (int_und == 0)