From 8f5729e1b9e1bc1f27a8752eee01792d8c9d3ddf Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Tue, 9 Jul 2013 22:00:33 -0400 Subject: [PATCH] Debugger: ValueLoader: Add TODO note. --- src/apps/debugger/value/ValueLoader.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/apps/debugger/value/ValueLoader.cpp b/src/apps/debugger/value/ValueLoader.cpp index 19f313669a..9d973ebe40 100644 --- a/src/apps/debugger/value/ValueLoader.cpp +++ b/src/apps/debugger/value/ValueLoader.cpp @@ -122,6 +122,11 @@ ValueLoader::LoadValue(ValueLocation* location, type_code valueType, uint32 bytesToRead = piece.size; uint32 bitSize = piece.bitSize; uint8 bitOffset = piece.bitOffset; + // TODO: the offset's ordinal position and direction aren't + // specified by DWARF, and simply follow the target language. + // To handle non C/C++ languages properly, the corresponding + // SourceLanguage will need to be passed in and extended to + // return the relevant information. switch (piece.type) { case VALUE_PIECE_LOCATION_INVALID: