Debian Codegraph @

testsuite/systemtap.printf/ptr-1.2.exp

raw
1 set test "ptr-1.2"
2
3 if {$::tcl_platform(wordSize) == 8} {
4 set ::result_string "0x0000000000000000
5 0x0000000000000001
6 0x0000000012345678
7 0x12345678abcdef00
8 0x0000000012345678
9
10 0x0000000000000000X
11 0x0000000000000001X
12 0x0000000012345678X
13 0x12345678abcdef00X
14 0x0000000012345678X
15
16 0x000000000000000000X
17 0x000000000000000001X
18 0x000000000012345678X
19 0x0012345678abcdef00X
20 0x000000000012345678X
21
22 0x000000
23 0x000001
24 0x12345678
25 0x12345678abcdef00
26 0x12345678
27
28 0x000000X
29 0x000001X
30 0x12345678X
31 0x12345678abcdef00X
32 0x12345678X
33
34 0x0000000000000000
35 0x0000000000000001
36 0x0000000012345678
37 0x12345678abcdef00
38 0x0000000012345678"
39 } else {
40 set ::result_string "0x00000000
41 0x00000001
42 0x12345678
43 0xabcdef00
44 0x12345678
45
46 0x00000000X
47 0x00000001X
48 0x12345678X
49 0xabcdef00X
50 0x12345678X
51
52 0x000000000000000000X
53 0x000000000000000001X
54 0x000000000012345678X
55 0x0000000000abcdef00X
56 0x000000000012345678X
57
58 0x000000
59 0x000001
60 0x12345678
61 0xabcdef00
62 0x12345678
63
64 0x000000X
65 0x000001X
66 0x12345678X
67 0xabcdef00X
68 0x12345678X
69
70 0x00000000
71 0x00000001
72 0x12345678
73 0xabcdef00
74 0x12345678"
75 }
76
77 foreach runtime [get_runtime_list] {
78 if {$runtime != ""} {
79 stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime --compatible=1.2
80 stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime --compatible=1.2 -DSTP_LEGACY_PRINT
81 } else {
82 stap_run2 $srcdir/$subdir/$test.stp --compatible=1.2
83 stap_run2 $srcdir/$subdir/$test.stp --compatible=1.2 -DSTP_LEGACY_PRINT
84 }
85 }