blob: 28f9a5917e97169573ba9b1031ddc99a94121924 [file] [log] [blame]
from util import *
send_gdb('break breakpoint')
expect_gdb('Breakpoint 1')
send_gdb('c')
expect_gdb('Breakpoint 1')
send_gdb('finish')
send_gdb('watch -l *(&v - 1000000)')
expect_gdb('Hardware[()/a-z ]+watchpoint 2')
send_gdb('c')
expect_gdb('signal SIGSEGV')
send_gdb('c')
expect_gdb('exited normally')
ok()