diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-07 15:38:28 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-07 15:38:28 +0000 |
commit | a68eb89de4ff00edae2ded98974f1f97667ca402 (patch) | |
tree | 27aedbd10bfec3c87b9104f3cff229c80799d699 /base/debug_util_posix.cc | |
parent | 56e4a8df8d4d583a8248a401d3cd252752929ea5 (diff) | |
download | chromium_src-a68eb89de4ff00edae2ded98974f1f97667ca402.zip chromium_src-a68eb89de4ff00edae2ded98974f1f97667ca402.tar.gz chromium_src-a68eb89de4ff00edae2ded98974f1f97667ca402.tar.bz2 |
Implement BreakDebugger for ARM.
Review URL: http://codereview.chromium.org/115087
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/debug_util_posix.cc')
-rw-r--r-- | base/debug_util_posix.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/base/debug_util_posix.cc b/base/debug_util_posix.cc index a6d5199..84aebc3 100644 --- a/base/debug_util_posix.cc +++ b/base/debug_util_posix.cc @@ -108,8 +108,10 @@ bool DebugUtil::BeingDebugged() { // static void DebugUtil::BreakDebugger() { -#if !defined(ARCH_CPU_ARM_FAMILY) - asm ("int3"); +#if defined(ARCH_CPU_ARM_FAMILY) + asm("bkpt 0"); +#else + asm("int3"); #endif } |