set register value of current context
(self, args: str)
| 356 | qdb_print(QDB_MSG.ERROR, ex) |
| 357 | |
| 358 | def do_set(self, args: str) -> None: |
| 359 | """ |
| 360 | set register value of current context |
| 361 | """ |
| 362 | # set $a = b |
| 363 | |
| 364 | try: |
| 365 | reg, value = self.helper.handle_set(args) |
| 366 | except (KeyError, ValueError, SyntaxError) as ex: |
| 367 | qdb_print(QDB_MSG.ERROR, ex) |
| 368 | else: |
| 369 | qdb_print(QDB_MSG.INFO, f"{reg} set to {value:#010x}") |
| 370 | |
| 371 | def do_start(self, args: str) -> None: |
| 372 | """ |
nothing calls this directly
no test coverage detected