Commit e91ffb22 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra

Tweaks to bootstrap properly

parent 4fe4f97c
......@@ -149,7 +149,7 @@ void GDB_RSP::cmdStatus(const std::string& command) {
void GDB_RSP::cmdQuery(const std::string& command) {
if (command != "qSupported") return;
echo(Bits("PacketSize=8192"));
echo(Bits("PacketSize=4000"));
}
void GDB_RSP::cmdRegGetAll(const std::string& str) {
......
......@@ -39,8 +39,7 @@ SendQueue::const_iterator GDB_Serial::send(SendQueue::const_iterator i, SendQueu
for (; i != end; ++i) {
if (i->master == &reset) {
tail = 0;
buffer = "$?#3f";
runCommand();
buffer.clear();
continue;
}
......
......@@ -159,6 +159,8 @@ int main() {
return -1;
}
std::cerr << "Found LM32!" << std::endl;
Arbiter dev0_ir(&ic, false);
Map dev0_w(&ic, 1, false);
Map dev0_rw(&ic, 1, true);
......@@ -218,7 +220,8 @@ int main() {
}
signal(SIGINT, &trapSIGINT);
std::cerr << "Executing break -- and entering pipe-mode\n";
std::cerr << "Executing break -- and entering pipe-mode" << std::endl;
cbreak();
while (1) {
if (stop) {
cbreak();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment