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

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

Issue 16120002: drop unused execinfo.h header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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
« no previous file with comments | « no previous file | base/sys_info_chromeos.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>
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) && !defined(OS_NACL)
21 #include <execinfo.h>
22 #endif
23
24 #if defined(__GLIBCXX__) 20 #if defined(__GLIBCXX__)
25 #include <cxxabi.h> 21 #include <cxxabi.h>
26 #endif 22 #endif
27 23
28 #if defined(OS_MACOSX) 24 #if defined(OS_MACOSX)
29 #include <AvailabilityMacros.h> 25 #include <AvailabilityMacros.h>
30 #endif 26 #endif
31 27
32 #if defined(OS_MACOSX) || defined(OS_BSD) 28 #if defined(OS_MACOSX) || defined(OS_BSD)
33 #include <sys/sysctl.h> 29 #include <sys/sysctl.h>
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // attach the debugger, inspect the state of the program and then resume it by 252 // attach the debugger, inspect the state of the program and then resume it by
257 // setting the 'go' variable above. 253 // setting the 'go' variable above.
258 #elif defined(NDEBUG) 254 #elif defined(NDEBUG)
259 // Terminate the program after signaling the debug break. 255 // Terminate the program after signaling the debug break.
260 _exit(1); 256 _exit(1);
261 #endif 257 #endif
262 } 258 }
263 259
264 } // namespace debug 260 } // namespace debug
265 } // namespace base 261 } // namespace base
OLDNEW
« no previous file with comments | « no previous file | base/sys_info_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698