Make the debug messages more descriptive Change-Id: I43f1675a1c6059cc86eaf84ac768242cfc80b88f Reviewed-on: https://swiftshader-review.googlesource.com/3652 Tested-by: Greg Hartman <ghartman@google.com> Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
diff --git a/src/Common/DebugAndroid.hpp b/src/Common/DebugAndroid.hpp index 41dd3ba..504401e 100644 --- a/src/Common/DebugAndroid.hpp +++ b/src/Common/DebugAndroid.hpp
@@ -57,8 +57,8 @@ } while(0) #define UNREACHABLE(value) do { \ - ALOGE("badness: unreachable case reached: %s %s:%d. value: %d", \ - __FUNCTION__, __FILE__, __LINE__, value); \ + ALOGE("badness: unreachable case reached: %s %s:%d. %s: %d", \ + __FUNCTION__, __FILE__, __LINE__, #value, value); \ AndroidEnterDebugger(); \ } while(0)