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 <rene@gollent.com>
This commit is contained in:
Simon South 2015-10-08 09:21:44 -04:00 committed by Rene Gollent
parent c5271e6b51
commit 338fd73327

View File

@ -92,7 +92,7 @@ ValueWriter::WriteValue(ValueLocation* location, BVariant& value)
case VALUE_PIECE_LOCATION_REGISTER:
{
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;
BVariant pieceValue;