Commit 70e0e5f6 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Make register window smaller (do not pad all values).

parent 0bc0a2df
......@@ -220,11 +220,6 @@ Registers RegisterHandler::registers() const
void RegisterHandler::calculateWidth()
{
m_strlen = (m_base == 2 ? 64 : m_base == 8 ? 32 : m_base == 10 ? 26 : 16);
foreach(const Register &reg, m_registers)
if (reg.value.size() > m_strlen)
m_strlen = reg.value.size();
if (m_strlen > 40) // Allow for 128bit, but restrict overly ling CDB register arrays.
m_strlen = 40;
}
void RegisterHandler::setNumberBase(int base)
......
Supports Markdown
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