(gdb) print n_expected
$23 = 9
|
|
(gdb) print expected[0]
$24 = {
event_type = -1,
file = 0x0,
other_file = 0x0,
step = 0
}
|
(gdb) print *((RecordedEvent *) recorded->data)
$39 = {
event_type = -1,
file = 0x0,
other_file = 0x0,
step = 0
|
(gdb) print expected[1]
$25 = {
event_type = 3,
file = 0x100002d4a "atomic_replace_file",
other_file = 0x0,
step = -1
}
|
(gdb) print *((RecordedEvent *) recorded->next->data)
$40 = {
event_type = 3,
file = 0x100702eb0 "atomic_replace_file",
other_file = 0x0,
step = -1
}
|
(gdb) print expected[2]
$26 = {
event_type = 0,
file = 0x100002d4a "atomic_replace_file",
other_file = 0x0,
step = -1
}
|
(gdb) print *((RecordedEvent *) recorded->next->next->data)
$41 = {
event_type = -1,
file = 0x0,
other_file = 0x0,
step = 1
}
|
(gdb) print expected[3]
$27 = {
event_type = 1,
file = 0x100002d4a "atomic_replace_file",
other_file = 0x0,
step = -1
}
|
(gdb) print *((RecordedEvent *) recorded->next->next->next->data)
$42 = {
event_type = 1,
file = 0x10060bf30 "atomic_replace_file",
other_file = 0x0,
step = -1
}
|
(gdb) print expected[4]
$28 = {
event_type = -1,
file = 0x0,
other_file = 0x0,
step = 1
}
|
(gdb) print *((RecordedEvent *) recorded->next->next->next->next->data)
$43 = {
event_type = 2,
file = 0x10060d0e0 "atomic_replace_file",
other_file = 0x0,
step = -1
}
|
(gdb) print expected[5]
$29 = {
event_type = 8,
file = 0x100002f82 "",
other_file = 0x100002d4a "atomic_replace_file",
step = -1
}
|
(gdb) print *((RecordedEvent *) recorded->next->next->next->next->next->data)
$44 = {
event_type = 3,
file = 0x10060f180 "atomic_replace_file",
other_file = 0x0,
step = -1
}
|
(gdb) print expected[6]
$30 = {
event_type = -1,
file = 0x0,
other_file = 0x0,
step = 2
}
|
(gdb) print *((RecordedEvent *) recorded->next->next->next->next->next->next->data)
$45 = {
event_type = -1,
file = 0x0,
other_file = 0x0,
step = 2
}
|
(gdb) print expected[7]
$31 = {
event_type = 2,
file = 0x100002d4a "atomic_replace_file",
other_file = 0x0,
step = -1
}
|
(gdb) print *((RecordedEvent *) recorded->next->next->next->next->next->next->next->data)
$46 = {
event_type = 1,
file = 0x100702e60 "atomic_replace_file",
other_file = 0x0,
step = -1
}
|
(gdb) print expected[8]
$32 = {
event_type = -1,
file = 0x0,
other_file = 0x0,
step = 3
}
|
(gdb) print *((RecordedEvent *) recorded->next->next->next->next->next->next->next->next->data)
$47 = {
event_type = 2,
file = 0x10070ede0 "atomic_replace_file",
other_file = 0x0,
step = -1
}
|
(gdb) print expected[9]
$33 = {
event_type = -1,
file = 0x0,
other_file = 0x0,
step = 0
}
|
(gdb) print *((RecordedEvent *) recorded->next->next->next->next->next->next->next->next->next->data)
$48 = {
event_type = -1,
file = 0x0,
other_file = 0x0,
step = 3
}
|
(gdb) print expected[10]
$34 = {
event_type = 3,
file = 0x100002e7e "change_file",
other_file = 0x0,
step = -1
}
|
(gdb) print *((RecordedEvent *) recorded->next->next->next->next->next->next->next->next->next->next->data)
Cannot access memory at address 0x0
|