From 3e70d2597b5d5952639e4af2bb382d7b9252db1e Mon Sep 17 00:00:00 2001
From: Simon South <ssouth@simonsouth.com>
Date: Thu, 8 Oct 2015 09:21:44 -0400
Subject: [PATCH] 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.
---
src/apps/debugger/value/ValueWriter.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/apps/debugger/value/ValueWriter.cpp b/src/apps/debugger/value/ValueWriter.cpp
index 705e694..0548c21 100644
a
|
b
|
ValueWriter::WriteValue(ValueLocation* location, BVariant& value)
|
92 | 92 | case VALUE_PIECE_LOCATION_REGISTER: |
93 | 93 | { |
94 | 94 | TRACE_LOCALS(" piece %" B_PRId32 ": register: %" B_PRIu32 |
95 | | ", bits: %" B_PRIu32 "\n", i, piece.reg, bitSize); |
| 95 | ", bits: %" B_PRIu64 "\n", i, piece.reg, piece.bitSize); |
96 | 96 | |
97 | 97 | const Register* target = registers + piece.reg; |
98 | 98 | BVariant pieceValue; |