monitor: add more debugging features

Fixes #4977
This commit is contained in:
Christian Prochaska
2023-08-08 14:17:36 +02:00
committed by Christian Helmuth
parent 8b7f959451
commit 7000fb8642
22 changed files with 1705 additions and 136 deletions

View File

@ -35,9 +35,12 @@ struct Genode::Gdb_checksummed_output : Output
Output &_output;
uint8_t _accumulated = 0;
Gdb_checksummed_output(Output &output) : _output(output)
Gdb_checksummed_output(Output &output, bool notification) : _output(output)
{
print(_output, "$");
if (notification)
print(_output, "%");
else
print(_output, "$");
}
~Gdb_checksummed_output()