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:
Simon South
2015-10-08 18:59:54 -04:00
committed by Rene Gollent
parent c5271e6b51
commit 338fd73327
+1 -1
View File
@@ -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;