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

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

Issue 11366229: Move eintr_wrapper.h from base to base/posix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/stack_trace_posix.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) 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 22 matching lines...) Expand all
33 #include <sys/sysctl.h> 33 #include <sys/sysctl.h>
34 #endif 34 #endif
35 35
36 #if defined(OS_FREEBSD) 36 #if defined(OS_FREEBSD)
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/eintr_wrapper.h"
44 #include "base/logging.h" 43 #include "base/logging.h"
45 #include "base/memory/scoped_ptr.h" 44 #include "base/memory/scoped_ptr.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" 47 #include "base/string_piece.h"
48 #include "base/stringprintf.h" 48 #include "base/stringprintf.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"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 // attach the debugger, inspect the state of the program and then resume it by 237 // attach the debugger, inspect the state of the program and then resume it by
238 // setting the 'go' variable above. 238 // setting the 'go' variable above.
239 #elif defined(NDEBUG) 239 #elif defined(NDEBUG)
240 // Terminate the program after signaling the debug break. 240 // Terminate the program after signaling the debug break.
241 _exit(1); 241 _exit(1);
242 #endif 242 #endif
243 } 243 }
244 244
245 } // namespace debug 245 } // namespace debug
246 } // namespace base 246 } // namespace base
OLDNEW
« no previous file with comments | « no previous file | base/debug/stack_trace_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698