coregrind/m_gdbserver/remote-utils.c (prepare_resume_reply): Use memcpy
[valgrind.git] / gdbserver_tests / hgtls.stdinB.gdb
blob2541e9ea4ad6f988f1dab9b939cbed2089ec9599
1 # connect gdb to Valgrind gdbserver:
2 target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-hgtls
3 echo vgdb launched process attached\n
4 monitor v.set vgdb-error 999999
7 # insert break:
8 break tls.c:55
9 command
10 set $tls_ip = main
11 if test == &tests[0]
12   set $tls_ip = &race
13 end
14 if test == &tests[1]
15   set $tls_ip = &local
16 end
17 if test == &tests[2]
18   set $tls_ip = &global
19 end
20 if test == &tests[3]
21   set $tls_ip = &static_extern
22 end
23 if test == &tests[4]
24   set $tls_ip = &so_extern
25 end
26 if test == &tests[5]
27   set $tls_ip = &so_local
28 end
29 if test == &tests[6]
30   set $tls_ip = &global
31 end
32 printf "test %s tls_ip %p ip %p equal %d\n", test->name, $tls_ip, ip, $tls_ip == ip
33 continue
34 end
35 # continue till the end
36 continue
37 quit