summaryrefslogtreecommitdiffstats
path: root/debuggerd/utility.h
diff options
context:
space:
mode:
authorDouglas Leung <douglas.leung@imgtec.com>2015-03-09 18:41:32 -0700
committerDouglas Leung <douglas.leung@imgtec.com>2015-03-09 18:43:10 -0700
commit2ea9a32434ef95f7b2105a03df758b5d82c2e123 (patch)
tree28d45a99eb5879c593df7457b4b3046cf938226f /debuggerd/utility.h
parent9b1fd969a7b7f1c6f1ed19719f21d57001d3c461 (diff)
downloadsystem_core-2ea9a32434ef95f7b2105a03df758b5d82c2e123.zip
system_core-2ea9a32434ef95f7b2105a03df758b5d82c2e123.tar.gz
system_core-2ea9a32434ef95f7b2105a03df758b5d82c2e123.tar.bz2
Add backtrace support for mips64.
Change-Id: I12ea2fcbe6780bb596f51988eae1ceafcec858df
Diffstat (limited to 'debuggerd/utility.h')
-rw-r--r--debuggerd/utility.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/debuggerd/utility.h b/debuggerd/utility.h
index 58a882c..49b46e8 100644
--- a/debuggerd/utility.h
+++ b/debuggerd/utility.h
@@ -26,8 +26,10 @@
#define ABI_STRING "arm"
#elif defined(__aarch64__)
#define ABI_STRING "arm64"
-#elif defined(__mips__)
+#elif defined(__mips__) && !defined(__LP64__)
#define ABI_STRING "mips"
+#elif defined(__mips__) && defined(__LP64__)
+#define ABI_STRING "mips64"
#elif defined(__i386__)
#define ABI_STRING "x86"
#elif defined(__x86_64__)