self.runCmd("frame recognizer add -l recognizer.MyOtherFrameRecognizer -s a.out -n bar -x")
- self.expect("frame recognizer list",
- substrs=['0: recognizer.MyFrameRecognizer, module a.out, function foo',
- '1: recognizer.MyOtherFrameRecognizer, module a.out, function bar (regexp)'
- ])
+ self.expect(
+ "frame recognizer list",
+ substrs=[
+ '1: recognizer.MyOtherFrameRecognizer, module a.out, function bar (regexp)',
+ '0: recognizer.MyFrameRecognizer, module a.out, function foo'
+ ])
self.runCmd("frame recognizer delete 0")
def test_settings_list(self):
# List settings (and optionally test the filter to only show 'target' settings).
- self.expect("settings list target", substrs=["language", "arg0", "detach-on-error"])
+ self.expect("settings list target", substrs=["arg0", "detach-on-error", "language"])
self.expect("settings list target", matching=False, substrs=["packet-timeout"])
self.expect("settings list", substrs=["language", "arg0", "detach-on-error", "packet-timeout"])
"term-width",
"thread-format",
"use-external-editor",
+ "target.breakpoints-use-platform-avoid-list",
"target.default-arch",
- "target.move-to-nearest-code",
- "target.expr-prefix",
- "target.language",
- "target.prefer-dynamic-value",
+ "target.disable-aslr",
+ "target.disable-stdio",
+ "target.x86-disassembly-flavor",
"target.enable-synthetic-value",
- "target.skip-prologue",
- "target.source-map",
- "target.exec-search-paths",
- "target.max-children-count",
- "target.max-string-summary-length",
- "target.breakpoints-use-platform-avoid-list",
- "target.run-args",
"target.env-vars",
+ "target.error-path",
+ "target.exec-search-paths",
+ "target.expr-prefix",
+ "target.hex-immediate-style",
"target.inherit-env",
"target.input-path",
+ "target.language",
+ "target.max-children-count",
+ "target.max-string-summary-length",
+ "target.move-to-nearest-code",
"target.output-path",
- "target.error-path",
- "target.disable-aslr",
- "target.disable-stdio",
- "target.x86-disassembly-flavor",
+ "target.prefer-dynamic-value",
+ "target.run-args",
+ "target.skip-prologue",
+ "target.source-map",
"target.use-hex-immediates",
- "target.hex-immediate-style",
"target.process.disable-memory-cache",
"target.process.extra-startup-command",
+ "target.process.thread.trace-thread",
"target.process.thread.step-avoid-regexp",
- "target.process.thread.trace-thread"])
+ ])
# settings under an ".experimental" domain should have two properties:
# 1. If the name does not exist with "experimental" in the name path,
self.runCmd("target select %d" % (base + 2))
self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT,
- substrs=['c.c:%d' % self.line_c,
- 'stop reason = breakpoint'])
+ substrs=['stop reason = breakpoint' ,'c.c:%d' % self.line_c
+ ])
self.runCmd("target select %d" % (base + 1))
self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT,
- substrs=['b.c:%d' % self.line_b,
- 'stop reason = breakpoint'])
+ substrs=['stop reason = breakpoint', 'b.c:%d' % self.line_b
+ ])
self.runCmd("target list")
# compile unit.
self.expect("target variable",
substrs=['my_global_char',
+ 'my_static_int',
'my_global_str',
'my_global_str_ptr',
- 'my_static_int'])
+ ])
self.expect(
"target variable my_global_str",