This commit is contained in:
Nav
2021-12-24 02:55:59 +00:00
parent 7c2a8705e7
commit 8ec4d664c9
3 changed files with 5 additions and 20 deletions

View File

@@ -147,8 +147,8 @@ void GdbRspDebugServer::handleGdbPacket(CommandPackets::WriteRegister& packet) {
try {
auto registerDescriptor = this->getRegisterDescriptorFromNumber(packet.registerNumber);
this->targetControllerConsole.writeRegisters({
TargetRegister(registerDescriptor, packet.registerValue)
});
TargetRegister(registerDescriptor, packet.registerValue)
});
this->clientConnection->writePacket(ResponsePacket({'O', 'K'}));
} catch (const Exception& exception) {

View File

@@ -1,18 +1,7 @@
#include "ByteAddressContainer.hpp"
#include <QVBoxLayout>
#include <QTableWidget>
#include <QScrollBar>
#include <QPainter>
#include <cmath>
#include "src/Logger/Logger.hpp"
using namespace Bloom::Widgets;
ByteAddressContainer::ByteAddressContainer() {
}
void ByteAddressContainer::adjustAddressLabels(
const std::map<std::size_t, std::vector<ByteItem*>>& byteItemsByRowIndex
) {
@@ -56,8 +45,6 @@ void ByteAddressContainer::adjustAddressLabels(
}
}
Logger::error("Done with rows: " + std::to_string(this->addressItemsByRowIndex.size()));
this->update();
}

View File

@@ -2,12 +2,10 @@
#include <QGraphicsItem>
#include <cstdint>
#include <QEvent>
#include <QPainter>
#include <QGraphicsScene>
#include <QFont>
#include <QColor>
#include <optional>
#include <map>
#include <vector>
#include "ByteItem.hpp"
#include "ByteAddressItem.hpp"
@@ -19,7 +17,7 @@ namespace Bloom::Widgets
public:
static constexpr int WIDTH = 85;
ByteAddressContainer();
ByteAddressContainer() = default;
[[nodiscard]] QRectF boundingRect() const override {
return QRectF(