• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# connect gdb to Valgrind gdbserver:
2target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-mcmain_pic
3echo vgdb launched process attached\n
4monitor v.set vgdb-error 999999
5#
6# break
7break main_pic.c:12
8#
9continue
10# first break encountered.
11print another_func("called from gdb")
12#
13print &main
14print &another_func
15continue
16quit
17