Chromium Code Reviews| Index: src/platform-freebsd.cc |
| diff --git a/src/platform-freebsd.cc b/src/platform-freebsd.cc |
| index 1e717044729ed25143354e29f1a5b91e0b415544..b37e08eab9c0ae5e7bc4bed0743ce5edf72bedee 100644 |
| --- a/src/platform-freebsd.cc |
| +++ b/src/platform-freebsd.cc |
| @@ -171,7 +171,7 @@ void OS::Abort() { |
| void OS::DebugBreak() { |
| -#if defined (__arm__) || defined(__thumb__) |
| +#ifdef (defined(__arm__) || defined(__thumb__)) |
|
Mads Ager (chromium)
2009/04/29 12:27:24
Should this just be an #if?
Lasse Reichstein
2009/04/29 13:05:41
Fixed.
|
| asm("bkpt 0"); |
| #else |
| asm("int $3"); |
| @@ -560,6 +560,7 @@ static void ProfilerSignalHandler(int signal, siginfo_t* info, void* context) { |
| sample.sp = mcontext.mc_esp; |
| sample.fp = mcontext.mc_ebp; |
| #endif |
| + |
| } |
| // We always sample the VM state. |