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