OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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> |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include <sys/user.h> | 37 #include <sys/user.h> |
38 #endif | 38 #endif |
39 | 39 |
40 #include <ostream> | 40 #include <ostream> |
41 | 41 |
42 #include "base/basictypes.h" | 42 #include "base/basictypes.h" |
43 #include "base/logging.h" | 43 #include "base/logging.h" |
44 #include "base/memory/scoped_ptr.h" | 44 #include "base/memory/scoped_ptr.h" |
45 #include "base/posix/eintr_wrapper.h" | 45 #include "base/posix/eintr_wrapper.h" |
46 #include "base/safe_strerror_posix.h" | 46 #include "base/safe_strerror_posix.h" |
47 #include "base/string_piece.h" | |
48 #include "base/stringprintf.h" | 47 #include "base/stringprintf.h" |
| 48 #include "base/strings/string_piece.h" |
49 | 49 |
50 #if defined(USE_SYMBOLIZE) | 50 #if defined(USE_SYMBOLIZE) |
51 #include "base/third_party/symbolize/symbolize.h" | 51 #include "base/third_party/symbolize/symbolize.h" |
52 #endif | 52 #endif |
53 | 53 |
54 #if defined(OS_ANDROID) | 54 #if defined(OS_ANDROID) |
55 #include "base/threading/platform_thread.h" | 55 #include "base/threading/platform_thread.h" |
56 #endif | 56 #endif |
57 | 57 |
58 namespace base { | 58 namespace base { |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 // attach the debugger, inspect the state of the program and then resume it by | 250 // attach the debugger, inspect the state of the program and then resume it by |
251 // setting the 'go' variable above. | 251 // setting the 'go' variable above. |
252 #elif defined(NDEBUG) | 252 #elif defined(NDEBUG) |
253 // Terminate the program after signaling the debug break. | 253 // Terminate the program after signaling the debug break. |
254 _exit(1); | 254 _exit(1); |
255 #endif | 255 #endif |
256 } | 256 } |
257 | 257 |
258 } // namespace debug | 258 } // namespace debug |
259 } // namespace base | 259 } // namespace base |
OLD | NEW |