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

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

Issue 2417443002: GN: Add PPC/s390 Linux support (Closed)
Patch Set: Created 4 years, 2 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 | build/build_config.h » ('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 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <stddef.h> 9 #include <stddef.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 <memory> 17 #include <memory>
18 #include <vector> 18 #include <vector>
19 19
20 #include "base/macros.h" 20 #include "base/macros.h"
21 #include "base/threading/platform_thread.h"
22 #include "base/time/time.h"
21 #include "build/build_config.h" 23 #include "build/build_config.h"
22 24
23 #if defined(__GLIBCXX__) 25 #if defined(__GLIBCXX__)
24 #include <cxxabi.h> 26 #include <cxxabi.h>
25 #endif 27 #endif
26 28
27 #if defined(OS_MACOSX) 29 #if defined(OS_MACOSX)
28 #include <AvailabilityMacros.h> 30 #include <AvailabilityMacros.h>
29 #endif 31 #endif
30 32
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // attach the debugger, inspect the state of the program and then resume it by 256 // attach the debugger, inspect the state of the program and then resume it by
255 // setting the 'go' variable above. 257 // setting the 'go' variable above.
256 #elif defined(NDEBUG) 258 #elif defined(NDEBUG)
257 // Terminate the program after signaling the debug break. 259 // Terminate the program after signaling the debug break.
258 _exit(1); 260 _exit(1);
259 #endif 261 #endif
260 } 262 }
261 263
262 } // namespace debug 264 } // namespace debug
263 } // namespace base 265 } // namespace base
OLDNEW
« no previous file with comments | « no previous file | build/build_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698