Implement simple HistoryMonitor for GDB monitoring

This commit is contained in:
Kristóf Tóth 2018-03-29 11:37:25 +02:00
parent ba41c0b505
commit 2087294510

View File

@ -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'