MCPcopy Create free account
hub / github.com/apache/trafficserver / invoke

Method invoke

tools/gdb-helpers.py:265–280  ·  view source on GitHub ↗
(self, arg, from_tty)

Source from the content-addressed store, hash-verified

263 super(ATSPrintCommand, self).__init__('atspr', gdb.COMMAND_DATA)
264
265 def invoke(self, arg, from_tty):
266 argv = gdb.string_to_argv(arg)
267 if len(argv) < 2:
268 usage()
269 return
270
271 what = argv[0]
272 expr = argv[1]
273 val = gdb.parse_and_eval(expr)
274
275 for cmd, f, _ in commands:
276 if cmd == what:
277 f(val)
278 return
279
280 usage()
281
282
283ATSPrintCommand()

Callers

nothing calls this directly

Calls 2

fFunction · 0.85
usageFunction · 0.70

Tested by

no test coverage detected