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

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

Issue 6410105: run iwyu on base! Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: Created 9 years, 10 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 | « base/debug/debugger.cc ('k') | base/debug/profiler.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <i686-apple-darwin10/bits/c++config.h>
6 #include <stdio.h>
7 #include <sys/fcntl.h>
8 #include <sys/proc.h>
9
6 #include "build/build_config.h" 10 #include "build/build_config.h"
7
8 #include <errno.h>
9 #include <execinfo.h>
10 #include <fcntl.h>
11 #include <stdio.h>
12 #include <stdlib.h>
13 #include <sys/stat.h>
14 #if !defined(OS_NACL) 11 #if !defined(OS_NACL)
15 #include <sys/sysctl.h> 12 #include <sys/sysctl.h>
16 #endif 13 #endif
17 #include <sys/types.h>
18 #include <unistd.h> 14 #include <unistd.h>
19 15
20 #include <string>
21 #include <vector>
22
23 #if defined(__GLIBCXX__)
24 #include <cxxabi.h>
25 #endif
26
27 #if defined(OS_MACOSX)
28 #include <AvailabilityMacros.h>
29 #endif
30
31 #include <iostream>
32
33 #include "base/basictypes.h" 16 #include "base/basictypes.h"
34 #include "base/eintr_wrapper.h"
35 #include "base/logging.h" 17 #include "base/logging.h"
36 #include "base/safe_strerror_posix.h"
37 #include "base/scoped_ptr.h"
38 #include "base/string_piece.h"
39 #include "base/stringprintf.h"
40 18
41 #if defined(USE_SYMBOLIZE) 19 #if defined(USE_SYMBOLIZE)
42 #include "base/third_party/symbolize/symbolize.h" 20 #include "base/third_party/symbolize/symbolize.h"
43 #endif 21 #endif
44 22
45 namespace base { 23 namespace base {
46 namespace debug { 24 namespace debug {
47 25
48 bool SpawnDebuggerOnProcess(unsigned /* process_id */) { 26 bool SpawnDebuggerOnProcess(unsigned /* process_id */) {
49 NOTIMPLEMENTED(); 27 NOTIMPLEMENTED();
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 152
175 void BreakDebugger() { 153 void BreakDebugger() {
176 DEBUG_BREAK(); 154 DEBUG_BREAK();
177 #if defined(NDEBUG) 155 #if defined(NDEBUG)
178 _exit(1); 156 _exit(1);
179 #endif 157 #endif
180 } 158 }
181 159
182 } // namespace debug 160 } // namespace debug
183 } // namespace base 161 } // namespace base
OLDNEW
« no previous file with comments | « base/debug/debugger.cc ('k') | base/debug/profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698