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

Side by Side Diff: gdb/gnu-nat.c

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/gdbtypes.c ('k') | gdb/gnu-v2-abi.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
1 /* Interface GDB to the GNU Hurd. 1 /* Interface GDB to the GNU Hurd.
2 Copyright (C) 1992, 1995-2001, 2006-2012 Free Software Foundation, 2 Copyright (C) 1992, 1995-2001, 2006-2012 Free Software Foundation,
3 Inc. 3 Inc.
4 4
5 This file is part of GDB. 5 This file is part of GDB.
6 6
7 Written by Miles Bader <miles@gnu.ai.mit.edu> 7 Written by Miles Bader <miles@gnu.ai.mit.edu>
8 8
9 Some code and ideas from m3-nat.c by Jukka Virtanen <jtv@hut.fi> 9 Some code and ideas from m3-nat.c by Jukka Virtanen <jtv@hut.fi>
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 struct proc *inf_tid_to_proc (struct inf *inf, int tid); 100 struct proc *inf_tid_to_proc (struct inf *inf, int tid);
101 void inf_set_threads_resume_sc (struct inf *inf, 101 void inf_set_threads_resume_sc (struct inf *inf,
102 struct proc *run_thread, 102 struct proc *run_thread,
103 int run_others); 103 int run_others);
104 int inf_set_threads_resume_sc_for_signal_thread (struct inf *inf); 104 int inf_set_threads_resume_sc_for_signal_thread (struct inf *inf);
105 void inf_suspend (struct inf *inf); 105 void inf_suspend (struct inf *inf);
106 void inf_resume (struct inf *inf); 106 void inf_resume (struct inf *inf);
107 void inf_set_step_thread (struct inf *inf, struct proc *proc); 107 void inf_set_step_thread (struct inf *inf, struct proc *proc);
108 void inf_detach (struct inf *inf); 108 void inf_detach (struct inf *inf);
109 void inf_attach (struct inf *inf, int pid); 109 void inf_attach (struct inf *inf, int pid);
110 void inf_signal (struct inf *inf, enum target_signal sig); 110 void inf_signal (struct inf *inf, enum gdb_signal sig);
111 void inf_continue (struct inf *inf); 111 void inf_continue (struct inf *inf);
112 112
113 #define inf_debug(_inf, msg, args...) \ 113 #define inf_debug(_inf, msg, args...) \
114 do { struct inf *__inf = (_inf); \ 114 do { struct inf *__inf = (_inf); \
115 debug ("{inf %d %s}: " msg, __inf->pid, \ 115 debug ("{inf %d %s}: " msg, __inf->pid, \
116 host_address_to_string (__inf) , ##args); } while (0) 116 host_address_to_string (__inf) , ##args); } while (0)
117 117
118 void proc_abort (struct proc *proc, int force); 118 void proc_abort (struct proc *proc, int force);
119 struct proc *make_proc (struct inf *inf, mach_port_t port, int tid); 119 struct proc *make_proc (struct inf *inf, mach_port_t port, int tid);
120 struct proc *_proc_free (struct proc *proc); 120 struct proc *_proc_free (struct proc *proc);
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 { 1244 {
1245 /* XXX for now we assume that if there's a msgport, the 2nd thread is 1245 /* XXX for now we assume that if there's a msgport, the 2nd thread is
1246 the signal thread. */ 1246 the signal thread. */
1247 inf->signal_thread = inf->threads ? inf->threads->next : 0; 1247 inf->signal_thread = inf->threads ? inf->threads->next : 0;
1248 } 1248 }
1249 1249
1250 1250
1251 1251
1252 /* Detachs from INF's inferior task, letting it run once again... */ 1252 /* Detachs from INF's inferior task, letting it run once again... */
1253 void 1253 void

error: old chunk mismatch

OLDNEW
« no previous file with comments | « gdb/gdbtypes.c ('k') | gdb/gnu-v2-abi.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698