Debugger: Fix TRACE_LOCALS statement.
- Correct a TRACE_LOCALS statement in ValueWriter.cpp and update it to match the current definition of ValuePieceLocation. Fixes #12411. Signed-off-by: Rene Gollent <[email protected]>
This commit is contained in:
committed by
Rene Gollent
parent
c5271e6b51
commit
338fd73327
@@ -92,7 +92,7 @@ ValueWriter::WriteValue(ValueLocation* location, BVariant& value)
|
|||||||
case VALUE_PIECE_LOCATION_REGISTER:
|
case VALUE_PIECE_LOCATION_REGISTER:
|
||||||
{
|
{
|
||||||
TRACE_LOCALS(" piece %" B_PRId32 ": register: %" B_PRIu32
|
TRACE_LOCALS(" piece %" B_PRId32 ": register: %" B_PRIu32
|
||||||
", bits: %" B_PRIu32 "\n", i, piece.reg, bitSize);
|
", bits: %" B_PRIu64 "\n", i, piece.reg, piece.bitSize);
|
||||||
|
|
||||||
const Register* target = registers + piece.reg;
|
const Register* target = registers + piece.reg;
|
||||||
BVariant pieceValue;
|
BVariant pieceValue;
|
||||||
|
|||||||
Reference in New Issue
Block a user