Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3335)

Unified Diff: base/debug/debugger_posix.cc

Issue 10834234: [MIPS] Add DEBUG_BREAK() for MIPS architecture. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/debugger_posix.cc
diff --git a/base/debug/debugger_posix.cc b/base/debug/debugger_posix.cc
old mode 100644
new mode 100755
index 4139f73c61839c4c5f170cacd380acdc2ca47b29..796b0e8c528dcd13f87296996b3a352764f74028
--- a/base/debug/debugger_posix.cc
+++ b/base/debug/debugger_posix.cc
@@ -222,6 +222,8 @@ bool BeingDebugged() {
// ARM && !ANDROID
#define DEBUG_BREAK() asm("bkpt 0")
#endif
+#elif defined(ARCH_CPU_MIPS_FAMILY)
+#define DEBUG_BREAK() asm("break 2")
#else
#define DEBUG_BREAK() asm("int3")
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698