aboutsummaryrefslogtreecommitdiff
path: root/src/client/linux/microdump_writer
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2016-02-06 18:58:39 -0500
committerMike Frysinger <vapier@chromium.org>2016-02-06 18:58:39 -0500
commit76c51742c9e7ad8ab137e5dab1852798fc532207 (patch)
tree495157301f1f4279b1f4b18b38b0b4b5627fe488 /src/client/linux/microdump_writer
parentRemove use of deprecated CFURLCreateDataAndPropertiesFromResource function. (diff)
downloadbreakpad-76c51742c9e7ad8ab137e5dab1852798fc532207.tar.xz
[mips64] Support for mips n64
Adding remaining mips n64 support including stackwalker. BUG=None TEST=manually tested on Linux/Android R=vapier@chromium.org Review URL: https://codereview.chromium.org/1418453011 .
Diffstat (limited to 'src/client/linux/microdump_writer')
-rw-r--r--src/client/linux/microdump_writer/microdump_writer.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/linux/microdump_writer/microdump_writer.cc b/src/client/linux/microdump_writer/microdump_writer.cc
index aa9f9413..fc29b714 100644
--- a/src/client/linux/microdump_writer/microdump_writer.cc
+++ b/src/client/linux/microdump_writer/microdump_writer.cc
@@ -179,7 +179,13 @@ class MicrodumpWriter {
#elif defined(__i386__)
const char kArch[] = "x86";
#elif defined(__mips__)
+# if _MIPS_SIM == _ABIO32
const char kArch[] = "mips";
+# elif _MIPS_SIM == _ABI64
+ const char kArch[] = "mips64";
+# else
+# error "This mips ABI is currently not supported (n32)"
+#endif
#else
#error "This code has not been ported to your platform yet"
#endif