mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 21:51:32 +00:00
Implement simple HistoryMonitor for GDB monitoring
This commit is contained in:
parent
ba41c0b505
commit
2087294510
@ -70,3 +70,9 @@ class BashMonitor(HistoryMonitor):
|
|||||||
|
|
||||||
def sanitize_command(self, command):
|
def sanitize_command(self, command):
|
||||||
return command.strip()
|
return command.strip()
|
||||||
|
|
||||||
|
|
||||||
|
class GDBMonitor(HistoryMonitor):
|
||||||
|
@property
|
||||||
|
def command_pattern(self):
|
||||||
|
return r'(?<=\n)\+(.+)\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user