Home
last modified time | relevance | path

Searched refs:runCmd (Results 1 – 25 of 187) sorted by relevance

12345678

/external/lldb/test/functionalities/data-formatter/data-formatter-categories/
DTestDataFormatterCategories.py36 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
40 self.runCmd("run", RUN_SUCCEEDED)
51 self.runCmd('type format clear', check=False)
52 self.runCmd('type summary clear', check=False)
53 self.runCmd('type category delete Category1', check=False)
54 self.runCmd('type category delete Category2', check=False)
55 self.runCmd('type category delete NewCategory', check=False)
56 self.runCmd("type category delete CircleCategory", check=False)
57 self.runCmd("type category delete RectangleStarCategory", check=False)
58 self.runCmd("type category delete BaseCategory", check=False)
[all …]
/external/lldb/test/settings/
DTestSettings.py33 self.runCmd('settings append target.env-vars MY_ENV_VAR=YES')
36 lambda: self.runCmd("settings clear target.env-vars"))
45 self.runCmd('settings set target.run-args a b c')
48 lambda: self.runCmd("settings clear target.run-args"))
51 self.runCmd('settings insert-before target.run-args 0 __a__')
53 self.runCmd('settings insert-after target.run-args 1 __A__')
66 self.runCmd('settings set target.run-args a b c')
69 lambda: self.runCmd("settings clear target.run-args"))
72 self.runCmd('settings replace target.run-args 0 A')
84 self.runCmd("settings set prompt 'lldb2 '")
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-cpp/
DTestDataFormatterCpp.py36 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
40 self.runCmd("run", RUN_SUCCEEDED)
54 self.runCmd('type format clear', check=False)
55 self.runCmd('type summary clear', check=False)
60 self.runCmd("type format add -C yes -f x Speed BitField")
61 self.runCmd("type format add -C no -f c RealNumber")
62 self.runCmd("type format add -C no -f x Type2")
63 self.runCmd("type format add -C yes -f c Type1")
87 self.runCmd("type format delete Speed")
97 … self.runCmd("type summary add --summary-string \"arr = ${var%s}\" -x \"char \\[[0-9]+\\]\" -v")
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-advanced/
DTestDataFormatterAdv.py36 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
40 self.runCmd("run", RUN_SUCCEEDED)
50 self.runCmd('type format clear', check=False)
51 self.runCmd('type summary clear', check=False)
52 self.runCmd("settings set target.max-children-count 256", check=False)
58 self.runCmd("type summary add --summary-string \"pippo\" \"i_am_cool\"")
60 self.runCmd("type summary add --summary-string \"pluto\" -x \"i_am_cool[a-z]*\"")
68 self.runCmd("type summary delete i_am_cool")
73 self.runCmd("type summary clear")
75 self.runCmd("type summary add --summary-string \"${var[]}\" -x \"int \\[[0-9]\\]")
[all …]
/external/lldb/test/functionalities/alias/
DTestAliases.py34 self.runCmd('command unalias hello', check=False)
35 self.runCmd('command unalias python', check=False)
36 self.runCmd('command unalias pp', check=False)
37 self.runCmd('command unalias alias', check=False)
38 self.runCmd('command unalias unalias', check=False)
39 self.runCmd('command unalias myrun', check=False)
40 self.runCmd('command unalias bp', check=False)
41 self.runCmd('command unalias bpa', check=False)
42 self.runCmd('command unalias bpi', check=False)
43 self.runCmd('command unalias bfl', check=False)
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/
DTestDataFormatterLibcxxList.py38 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
43 self.runCmd("run", RUN_SUCCEEDED)
53 self.runCmd('type format clear', check=False)
54 self.runCmd('type summary clear', check=False)
55 self.runCmd('type filter clear', check=False)
56 self.runCmd('type synth clear', check=False)
57 self.runCmd("settings set target.max-children-count 256", check=False)
62 self.runCmd("frame variable numbers_list --show-types")
63 …self.runCmd("type summary add std::int_list std::string_list int_list string_list --summary-string…
64 self.runCmd("type format add -f hex int")
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/
DTestDataFormatterLibcxxVector.py38 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
43 self.runCmd("run", RUN_SUCCEEDED)
53 self.runCmd('type format clear', check=False)
54 self.runCmd('type summary clear', check=False)
55 self.runCmd('type filter clear', check=False)
56 self.runCmd('type synth clear', check=False)
57 self.runCmd("settings set target.max-children-count 256", check=False)
66 self.runCmd("n")
75 self.runCmd("n");self.runCmd("n");self.runCmd("n");
95 … self.runCmd("type summary add --summary-string \"item 0 is ${var[0]}\" std::int_vect int_vect")
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/
DTestDataFormatterLibccMultiMap.py35 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
39 self.runCmd("run", RUN_SUCCEEDED)
49 self.runCmd('type format clear', check=False)
50 self.runCmd('type summary clear', check=False)
51 self.runCmd('type filter clear', check=False)
52 self.runCmd('type synth clear', check=False)
53 self.runCmd("settings set target.max-children-count 256", check=False)
60 self.runCmd("frame variable ii --show-types")
66 self.runCmd("continue");
77 self.runCmd("continue");
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/
DTestDataFormatterLibccMap.py35 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
39 self.runCmd("run", RUN_SUCCEEDED)
49 self.runCmd('type format clear', check=False)
50 self.runCmd('type summary clear', check=False)
51 self.runCmd('type filter clear', check=False)
52 self.runCmd('type synth clear', check=False)
53 self.runCmd("settings set target.max-children-count 256", check=False)
60 self.runCmd("frame variable ii --show-types")
66 self.runCmd("continue");
77 self.runCmd("continue");
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-synth/
DTestDataFormatterSynth.py36 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
40 self.runCmd("run", RUN_SUCCEEDED)
50 self.runCmd('type format clear', check=False)
51 self.runCmd('type summary clear', check=False)
52 self.runCmd('type filter clear', check=False)
58 self.runCmd("type filter add BagOfInts --child x --child z")
64 self.runCmd("type summary add BagOfInts --summary-string \"y=${var.y}\"")
86 self.runCmd("type summary add BagOfInts --summary-string \"x=${var.x}\" -e")
93 …self.runCmd("type summary add BagOfInts --python-script \"return 'x=%s' % valobj.GetChildMemberWit…
105 self.runCmd("type filter delete BagOfInts")
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/
DTestDataFormatterStdMap.py42 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
46 self.runCmd("run", RUN_SUCCEEDED)
56 self.runCmd('type format clear', check=False)
57 self.runCmd('type summary clear', check=False)
58 self.runCmd('type filter clear', check=False)
59 self.runCmd('type synth clear', check=False)
60 self.runCmd("settings set target.max-children-count 256", check=False)
65 self.runCmd("frame variable ii --show-types")
67 … self.runCmd("type summary add -x \"std::map<\" --summary-string \"map has ${svar%#} items\" -e")
73 self.runCmd("c");
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/
DTestDataFormatterStdList.py39 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
43 self.runCmd("run", RUN_SUCCEEDED)
53 self.runCmd('type format clear', check=False)
54 self.runCmd('type summary clear', check=False)
55 self.runCmd('type filter clear', check=False)
56 self.runCmd('type synth clear', check=False)
57 self.runCmd("settings set target.max-children-count 256", check=False)
62 self.runCmd("frame variable numbers_list --show-types")
64 self.runCmd("type format add -f hex int")
81 self.runCmd("n")
[all …]
/external/lldb/test/expression_command/formatters/
DTestFormatters.py40 self.runCmd('type summary clear', check=False)
41 self.runCmd('type synthetic clear', check=False)
47 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
51 self.runCmd("run", RUN_SUCCEEDED)
52 self.runCmd("script import formatters")
53 self.runCmd("script import foosynth")
55 self.runCmd("frame variable foo1 --show-types")
56 self.runCmd("frame variable foo1.b --show-types")
57 self.runCmd("frame variable foo1.b.b_ref --show-types")
62 self.runCmd("type summary add -F formatters.foo_SummaryProvider foo")
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-smart-array/
DTestDataFormatterSmartArray.py36 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
40 self.runCmd("run", RUN_SUCCEEDED)
50 self.runCmd('type format clear', check=False)
51 self.runCmd('type summary clear', check=False)
57 self.runCmd("type summary add --summary-string \"${var%V}\" SomeData")
62 self.runCmd("type summary add --summary-string \"ptr = ${var%s}\" \"char *\"")
72 self.runCmd("type summary add --summary-string \"arr = ${var%s}\" -x \"char \\[[0-9]+\\]\"")
91 self.runCmd("type summary add --summary-string \"ptr = ${var%c}\" \"char *\"")
109 self.runCmd("type summary add --summary-string \"arr = ${var%c}\" -x \"char \\[[0-9]+\\]\"")
128 … self.runCmd("type summary add --summary-string \"arr = ${var%char[]}\" -x \"char \\[[0-9]+\\]\"")
[all …]
/external/lldb/test/functionalities/command_script/
DTestCommandScript.py31 self.runCmd("command source py_import")
36 self.runCmd('command script delete welcome', check=False)
37 self.runCmd('command script delete targetname', check=False)
38 self.runCmd('command script delete longwait', check=False)
39 self.runCmd('command script delete mysto', check=False)
40 self.runCmd('command script delete tell_sync', check=False)
41 self.runCmd('command script delete tell_async', check=False)
42 self.runCmd('command script delete tell_curr', check=False)
43 self.runCmd('command script delete bug11569', check=False)
74 self.runCmd("command script delete welcome");
[all …]
/external/lldb/test/functionalities/data-formatter/rdar-9974002/
DTest-rdar-9974002.py40 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
44 self.runCmd("run", RUN_SUCCEEDED)
54 self.runCmd('type summary clear', check=False)
59 self.runCmd("type summary add -s \"${var.scalar} and ${var.pointer.first}\" container")
65 self.runCmd("type summary add -s \"${var.scalar} and ${var.pointer}\" container")
71 self.runCmd("type summary add -s \"${var.scalar} and ${var.pointer%S}\" container")
77 self.runCmd("type summary add -s foo contained")
83 self.runCmd("type summary add -s \"${var.scalar} and ${var.pointer}\" container")
89 self.runCmd("type summary add -s \"${var.scalar} and ${var.pointer%V}\" container")
95 self.runCmd("type summary add -s \"${var.scalar} and ${var.pointer.first}\" container")
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-python-synth/
DTestDataFormatterPythonSynth.py52 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
56 self.runCmd("run", RUN_SUCCEEDED)
66 self.runCmd('type format clear', check=False)
67 self.runCmd('type summary clear', check=False)
68 self.runCmd('type filter clear', check=False)
69 self.runCmd('type synth clear', check=False)
81 self.runCmd("script from fooSynthProvider import *")
82 self.runCmd("type synth add -l fooSynthProvider foo")
103 self.runCmd("type summary add --summary-string \"fake_a=${svar.fake_a}\" foo")
106 self.runCmd("type summary add --summary-string \"fake_a=${svar[1]}\" foo")
[all …]
/external/lldb/test/functionalities/watchpoint/watchpoint_commands/
DTestWatchpointCommands.py112 self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
118 self.runCmd("run", RUN_SUCCEEDED)
138 self.runCmd("process continue")
145 self.runCmd("process continue")
152 self.runCmd("process continue")
167 self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
173 self.runCmd("run", RUN_SUCCEEDED)
188 self.runCmd("settings set auto-confirm true")
192 self.runCmd("settings clear auto-confirm")
195 self.runCmd("watchpoint list -v")
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/
DTestDataFormatterStdVector.py40 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
44 self.runCmd("run", RUN_SUCCEEDED)
54 self.runCmd('type format clear', check=False)
55 self.runCmd('type summary clear', check=False)
56 self.runCmd('type filter clear', check=False)
57 self.runCmd('type synth clear', check=False)
58 self.runCmd("settings set target.max-children-count 256", check=False)
67 self.runCmd("c")
76 self.runCmd("c");
96 … self.runCmd("type summary add --summary-string \"item 0 is ${var[0]}\" std::int_vect int_vect")
[all …]
/external/lldb/test/lang/objc/foundation/
DTestObjCMethods2.py104 self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
110 self.runCmd("run", RUN_SUCCEEDED)
113 self.runCmd("thread backtrace")
118 self.runCmd("process continue")
121 self.runCmd("thread backtrace")
122 self.runCmd("process continue")
125 self.runCmd("thread backtrace")
126 self.runCmd("process continue")
129 self.runCmd("thread backtrace")
134 self.runCmd("process continue")
[all …]
/external/lldb/test/functionalities/command_script/import/
DTestImport.py28 self.runCmd('command script delete foo2cmd', check=False)
29 self.runCmd('command script delete foocmd', check=False)
30 self.runCmd('command script delete foobarcmd', check=False)
31 self.runCmd('command script delete barcmd', check=False)
32 self.runCmd('command script delete barothercmd', check=False)
33 self.runCmd('command script delete TPcommandA', check=False)
34 self.runCmd('command script delete TPcommandB', check=False)
39 self.runCmd("command script import ./foo/foo.py --allow-reload")
40 self.runCmd("command script import ./foo/foo2.py --allow-reload")
41 self.runCmd("command script import ./foo/bar/foobar.py --allow-reload")
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-named-summaries/
DTestDataFormatterNamedSummaries.py36 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
40 self.runCmd("run", RUN_SUCCEEDED)
50 self.runCmd('type format clear', check=False)
51 self.runCmd('type summary clear', check=False)
56 …self.runCmd("type summary add --summary-string \"AllUseIt: x=${var.x} {y=${var.y}} {z=${var.z}}\" …
57 …self.runCmd("type summary add --summary-string \"First: x=${var.x} y=${var.y} dummy=${var.dummy}\"…
58 … self.runCmd("type summary add --summary-string \"Second: x=${var.x} y=${var.y%hex}\" Second")
59 self.runCmd("type summary add --summary-string \"Third: x=${var.x} z=${var.z}\" Third")
73 self.runCmd("thread step-over") # 2
91 self.runCmd("thread step-over") # 3
[all …]
/external/lldb/test/functionalities/data-formatter/rdar-10449092/
DTest-rdar-10449092.py37 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
41 self.runCmd("run", RUN_SUCCEEDED)
51 self.runCmd('type format delete hex', check=False)
52 self.runCmd('type summary clear', check=False)
57 self.runCmd("type format add -f uppercase int")
63 self.runCmd("type format add -f hex int")
69 self.runCmd("type format delete int")
71 self.runCmd("type summary add -s \"${var.first%X} and ${var.second%x}\" foo")
76 self.runCmd("type summary add -s \"${var.first%X} and ${var.second%X}\" foo")
77 self.runCmd("next")
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-disabling/
DTestDataFormatterDisabling.py36 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
40 self.runCmd("run", RUN_SUCCEEDED)
50 self.runCmd('type category enable default', check=False)
51 self.runCmd('type category enable system', check=False)
52 self.runCmd('type category enable VectorTypes', check=False)
53 self.runCmd('type category enable libcxx', check=False)
54 self.runCmd('type category enable gnu-libstdc++', check=False)
55 self.runCmd('type category enable CoreGraphics', check=False)
56 self.runCmd('type category enable CoreServices', check=False)
57 self.runCmd('type category enable AppKit', check=False)
[all …]
/external/lldb/test/functionalities/data-formatter/data-formatter-script/
DTestDataFormatterScript.py36 self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
40 self.runCmd("run", RUN_SUCCEEDED)
50 self.runCmd('type format clear', check=False)
51 self.runCmd('type summary clear', check=False)
59 self.runCmd("type summary add i_am_cool --python-script \"%s\"" % script)
69 self.runCmd("n"); # skip ahead to make values change
75 self.runCmd("n"); # skip ahead to make values change
84 self.runCmd("type summary add i_am_cool --python-script \"%s\"" % script)
93 …self.runCmd("type summary add --summary-string \"int says ${var.integer}, and float says ${var.flo…
104 self.runCmd("type summary add i_am_cool -p --python-script \"%s\"" % script)
[all …]

12345678