Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(9)

Side by Side Diff: src/client/mac/handler/breakpad_nlist_64.h

Issue 241001: Allow MinidumpGenerator to dump processes of different CPU architecture (Closed)
Patch Set: Updated with review comments, portions rewritten Created 14 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2008, Google Inc. 1 // Copyright (c) 2008, Google Inc.
2 // All rights reserved 2 // All rights reserved
3 // Redistribution and use in source and binary forms, with or without 3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are 4 // modification, are permitted provided that the following conditions are
5 // met: 5 // met:
6 // 6 //
7 // * Redistributions of source code must retain the above copyright 7 // * Redistributions of source code must retain the above copyright
8 // notice, this list of conditions and the following disclaimer. 8 // notice, this list of conditions and the following disclaimer.
9 // * Redistributions in binary form must reproduce the above 9 // * Redistributions in binary form must reproduce the above
10 // copyright notice, this list of conditions and the following disclaimer 10 // copyright notice, this list of conditions and the following disclaimer
(...skipping 15 matching lines...) Expand all
26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 28
29 // breakpad_nlist.h 29 // breakpad_nlist.h
30 // 30 //
31 // This file is meant to provide a header for clients of the modified 31 // This file is meant to provide a header for clients of the modified
32 // nlist function implemented to work on 64-bit. 32 // nlist function implemented to work on 64-bit.
33 33
34 #ifndef CLIENT_MAC_HANDLER_BREAKPAD_NLIST_H__ 34 #ifndef CLIENT_MAC_HANDLER_BREAKPAD_NLIST_H__
35 35
36 typedef struct nlist_64 breakpad_nlist; 36 #include <mach/machine.h>
37 37
38 int 38 int
Mark Mentovai 2010/12/15 18:53:24 Move the return type to the next line, please. Sam
39 breakpad_nlist_64(const char *name, 39 breakpad_nlist(const char *name,
40 breakpad_nlist *list, 40 struct nlist *list,
41 const char **symbolNames); 41 const char **symbolNames,
42 cpu_type_t cpu_type);
43 int
44 breakpad_nlist(const char *name,
45 struct nlist_64 *list,
46 const char **symbolNames,
47 cpu_type_t cpu_type);
42 48
43 #endif /* CLIENT_MAC_HANDLER_BREAKPAD_NLIST_H__ */ 49 #endif /* CLIENT_MAC_HANDLER_BREAKPAD_NLIST_H__ */
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted