Method
invoke
(self, args: Any, from_tty: bool)
Source from the content-addressed store, hash-verified
| 9822 | return |
| 9823 | |
| 9824 | def invoke(self, args: Any, from_tty: bool) -> None: |
| 9825 | self.dont_repeat() |
| 9826 | args = args.split() |
| 9827 | cmd = ["set", args[0],] |
| 9828 | for p in args[1:]: |
| 9829 | if p.startswith("$_gef"): |
| 9830 | c = gdb.parse_and_eval(p) |
| 9831 | cmd.append(c.string()) |
| 9832 | else: |
| 9833 | cmd.append(p) |
| 9834 | |
| 9835 | gdb.execute(" ".join(cmd)) |
| 9836 | return |
| 9837 | |
| 9838 | |
| 9839 | class GefRunCommand(gdb.Command): |
Callers
nothing calls this directly
Tested by
no test coverage detected