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

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

Issue 1549043002: Switch to standard integer types in base/debug/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « base/debug/debugger.cc ('k') | base/debug/gdi_debug_util_win.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 "base/macros.h"
6 #include "build/build_config.h" 7 #include "build/build_config.h"
7 8
8 #include <errno.h> 9 #include <errno.h>
9 #include <fcntl.h> 10 #include <fcntl.h>
11 #include <stddef.h>
10 #include <stdio.h> 12 #include <stdio.h>
11 #include <stdlib.h> 13 #include <stdlib.h>
12 #include <sys/param.h> 14 #include <sys/param.h>
13 #include <sys/stat.h> 15 #include <sys/stat.h>
14 #include <sys/types.h> 16 #include <sys/types.h>
15 #include <unistd.h> 17 #include <unistd.h>
16 18
17 #include <vector> 19 #include <vector>
18 20
19 #if defined(__GLIBCXX__) 21 #if defined(__GLIBCXX__)
20 #include <cxxabi.h> 22 #include <cxxabi.h>
21 #endif 23 #endif
22 24
23 #if defined(OS_MACOSX) 25 #if defined(OS_MACOSX)
24 #include <AvailabilityMacros.h> 26 #include <AvailabilityMacros.h>
25 #endif 27 #endif
26 28
27 #if defined(OS_MACOSX) || defined(OS_BSD) 29 #if defined(OS_MACOSX) || defined(OS_BSD)
28 #include <sys/sysctl.h> 30 #include <sys/sysctl.h>
29 #endif 31 #endif
30 32
31 #if defined(OS_FREEBSD) 33 #if defined(OS_FREEBSD)
32 #include <sys/user.h> 34 #include <sys/user.h>
33 #endif 35 #endif
34 36
35 #include <ostream> 37 #include <ostream>
36 38
37 #include "base/basictypes.h"
38 #include "base/debug/alias.h" 39 #include "base/debug/alias.h"
39 #include "base/logging.h" 40 #include "base/logging.h"
40 #include "base/memory/scoped_ptr.h" 41 #include "base/memory/scoped_ptr.h"
41 #include "base/posix/eintr_wrapper.h" 42 #include "base/posix/eintr_wrapper.h"
42 #include "base/strings/string_piece.h" 43 #include "base/strings/string_piece.h"
43 44
44 #if defined(USE_SYMBOLIZE) 45 #if defined(USE_SYMBOLIZE)
45 #include "base/third_party/symbolize/symbolize.h" 46 #include "base/third_party/symbolize/symbolize.h"
46 #endif 47 #endif
47 48
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 // attach the debugger, inspect the state of the program and then resume it by 253 // attach the debugger, inspect the state of the program and then resume it by
253 // setting the 'go' variable above. 254 // setting the 'go' variable above.
254 #elif defined(NDEBUG) 255 #elif defined(NDEBUG)
255 // Terminate the program after signaling the debug break. 256 // Terminate the program after signaling the debug break.
256 _exit(1); 257 _exit(1);
257 #endif 258 #endif
258 } 259 }
259 260
260 } // namespace debug 261 } // namespace debug
261 } // namespace base 262 } // namespace base
OLDNEW
« no previous file with comments | « base/debug/debugger.cc ('k') | base/debug/gdi_debug_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698