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

Unified Diff: tests/debug_stub/debugger_test.c

Issue 11194045: Change BKPT and UDF encodings on ARM. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fixes proposed by mseaborn. I'll submit try jobs with them, and factor things out with #define tomo… Created 8 years, 2 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
Index: tests/debug_stub/debugger_test.c
diff --git a/tests/debug_stub/debugger_test.c b/tests/debug_stub/debugger_test.c
index 16b7fe6e4e2c572a59a1948cb162febe3245ccd8..9485308b25557021fe58db79c1d285b83f93badb 100644
--- a/tests/debug_stub/debugger_test.c
+++ b/tests/debug_stub/debugger_test.c
@@ -33,7 +33,7 @@ __asm__(".pushsection .text, \"ax\", @progbits\n"
#elif defined(__arm__)
__asm__(".pushsection .text, \"ax\", %progbits\n"
"fault_addr:\n"
- "bkpt 0x7777\n"
+ "udf 0xede0\n"
".popsection\n");
#else
# error Update fault_addr for other architectures
@@ -187,7 +187,7 @@ void breakpoint(void) {
* because BKPTs guard data literals in the ARM sandbox.
*/
__asm__(".p2align 4\n"
- "bkpt 0x7777\n"
+ "bkpt 0x5bef\n"
".p2align 4\n");
#else
# error Unsupported architecture

Powered by Google App Engine
This is Rietveld 408576698