blob: b9a4d138374c82f7abd1b6b9612c6dd80aded869 [file] [log] [blame]
sewardj3b290482011-05-06 21:02:55 +00001# connect gdb to Valgrind gdbserver:
2target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-mcsigpass
sewardjeefeeb72011-05-10 11:01:07 +00003echo vgdb launched process attached\n
sewardj30b3eca2011-06-28 08:20:39 +00004monitor v.set vgdb-error 999999
sewardj3b290482011-05-06 21:02:55 +00005#
6# After this continue, we will receive 5 signals.
7continue
8#
9# SIGTRAP : caused by invalid write error detected by memcheck
10continue
11#
12# SIGSEGV : line 99
13continue
14#
15# SIGSEGV : line 104
16continue
17#
18# SIGBUS : line 109
19continue
20#
21# SIGFPE : line 114
22continue
sewardj76291802011-05-31 07:09:06 +000023echo after continue SIGFPE
sewardj3b290482011-05-06 21:02:55 +000024#
25# program will exit
26quit
27