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

Side by Side Diff: base/debug/debugger_posix.cc

Issue 9474034: Make base::Logging compile with the NaCl toolchain. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | base/debug/trace_event_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/debug/debugger.h" 5 #include "base/debug/debugger.h"
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 7
8 #include <errno.h> 8 #include <errno.h>
9 #include <fcntl.h> 9 #include <fcntl.h>
10 #include <stdio.h> 10 #include <stdio.h>
11 #include <stdlib.h> 11 #include <stdlib.h>
12 #include <sys/param.h> 12 #include <sys/param.h>
13 #include <sys/stat.h> 13 #include <sys/stat.h>
14 #include <sys/types.h> 14 #include <sys/types.h>
15 #include <unistd.h> 15 #include <unistd.h>
16 16
17 #include <string> 17 #include <string>
18 #include <vector> 18 #include <vector>
19 19
20 #if !defined(OS_ANDROID) 20 #if !defined(OS_ANDROID) && !defined(OS_NACL)
21 #include <execinfo.h> 21 #include <execinfo.h>
22 #endif 22 #endif
23 23
24 #if defined(__GLIBCXX__) 24 #if defined(__GLIBCXX__)
25 #include <cxxabi.h> 25 #include <cxxabi.h>
26 #endif 26 #endif
27 27
28 #if defined(OS_MACOSX) 28 #if defined(OS_MACOSX)
29 #include <AvailabilityMacros.h> 29 #include <AvailabilityMacros.h>
30 #endif 30 #endif
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 void BreakDebugger() { 213 void BreakDebugger() {
214 DEBUG_BREAK(); 214 DEBUG_BREAK();
215 #if defined(NDEBUG) 215 #if defined(NDEBUG)
216 _exit(1); 216 _exit(1);
217 #endif 217 #endif
218 } 218 }
219 219
220 } // namespace debug 220 } // namespace debug
221 } // namespace base 221 } // namespace base
OLDNEW
« no previous file with comments | « no previous file | base/debug/trace_event_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698