Per request, changed the Qt debugger stack display to use a more compact address text format.

This commit is contained in:
mjbudd77 2020-10-17 23:57:10 -04:00
parent 598f036d56
commit 0f33735e06
1 changed files with 3 additions and 3 deletions

View File

@ -3364,7 +3364,7 @@ void DebuggerStackDisplay::updateText(void)
{
if ( showAddrs || (stackBytesPerLine <= 1) )
{
sprintf( stmp, " $%04X : %02X", stackPtr, GetMem(stackPtr) );
sprintf( stmp, "%03X: %02X", stackPtr, GetMem(stackPtr) );
}
else
{
@ -3386,7 +3386,7 @@ void DebuggerStackDisplay::updateText(void)
{
if ( showAddrs )
{
sprintf( stmp, "\n $%04X : %02X", stackPtr, GetMem(stackPtr) );
sprintf( stmp, "\n%03X: %02X", stackPtr, GetMem(stackPtr) );
}
else
{
@ -3400,7 +3400,7 @@ void DebuggerStackDisplay::updateText(void)
}
else
{
sprintf( stmp, "\n $%04X : %02X", stackPtr, GetMem(stackPtr) );
sprintf( stmp, "\n%03X: %02X", stackPtr, GetMem(stackPtr) );
}
stackLine.append( stmp );