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

Side by Side Diff: gdb/darwin-nat.h

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 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 | « gdb/d-valprint.c ('k') | gdb/darwin-nat.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Common things used by the various darwin files 1 /* Common things used by the various darwin files
2 Copyright (C) 1995-1997, 1999-2000, 2007-2012 Free Software 2 Copyright (C) 1995-1997, 1999-2000, 2007-2012 Free Software
3 Foundation, Inc. 3 Foundation, Inc.
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or 7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 mach_port_t task_port; 54 mach_port_t task_port;
55 55
56 /* Type of the exception. */ 56 /* Type of the exception. */
57 exception_type_t ex_type; 57 exception_type_t ex_type;
58 58
59 /* Machine dependent details. */ 59 /* Machine dependent details. */
60 mach_msg_type_number_t data_count; 60 mach_msg_type_number_t data_count;
61 integer_t ex_data[2]; 61 integer_t ex_data[2];
62 }; 62 };
63 63
64 enum darwin_msg_state { DARWIN_RUNNING, DARWIN_STOPPED, DARWIN_MESSAGE }; 64 enum darwin_msg_state
65 {
66 /* The thread is running. */
67 DARWIN_RUNNING,
68
69 /* The thread is stopped. */
70 DARWIN_STOPPED,
71
72 /* The thread has sent a message and waits for a reply. */
73 DARWIN_MESSAGE
74 };
65 75
66 struct private_thread_info 76 struct private_thread_info
67 { 77 {
68 /* The thread port from a GDB point of view. */ 78 /* The thread port from a GDB point of view. */
69 thread_t gdb_port; 79 thread_t gdb_port;
70 80
71 /* The thread port from the inferior point of view. Not to be used inside 81 /* The thread port from the inferior point of view. Not to be used inside
72 gdb except for get_ada_task_ptid. */ 82 gdb except for get_ada_task_ptid. */
73 thread_t inf_port; 83 thread_t inf_port;
74 84
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 void darwin_set_sstep (thread_t thread, int enable); 153 void darwin_set_sstep (thread_t thread, int enable);
144 154
145 /* This one is called in darwin-nat.c, but needs to be provided by the 155 /* This one is called in darwin-nat.c, but needs to be provided by the
146 platform specific nat code. It allows each platform to add platform specific 156 platform specific nat code. It allows each platform to add platform specific
147 stuff to the darwin_ops. */ 157 stuff to the darwin_ops. */
148 extern void darwin_complete_target (struct target_ops *target); 158 extern void darwin_complete_target (struct target_ops *target);
149 159
150 void darwin_check_osabi (darwin_inferior *inf, thread_t thread); 160 void darwin_check_osabi (darwin_inferior *inf, thread_t thread);
151 161
152 #endif /* __DARWIN_NAT_H__ */ 162 #endif /* __DARWIN_NAT_H__ */
OLDNEW
« no previous file with comments | « gdb/d-valprint.c ('k') | gdb/darwin-nat.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698