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

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

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 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/gnu-nat.h ('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-2013 Free Software Foundation, Inc.
3 Inc.
4 3
5 This file is part of GDB. 4 This file is part of GDB.
6 5
7 Written by Miles Bader <miles@gnu.ai.mit.edu> 6 Written by Miles Bader <miles@gnu.ai.mit.edu>
8 7
9 Some code and ideas from m3-nat.c by Jukka Virtanen <jtv@hut.fi> 8 Some code and ideas from m3-nat.c by Jukka Virtanen <jtv@hut.fi>
10 9
11 This program is free software; you can redistribute it and/or modify 10 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by 11 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 3 of the License, or 12 the Free Software Foundation; either version 3 of the License, or
14 (at your option) any later version. 13 (at your option) any later version.
15 14
16 This program is distributed in the hope that it will be useful, 15 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details. 18 GNU General Public License for more details.
20 19
21 You should have received a copy of the GNU General Public License 20 You should have received a copy of the GNU General Public License
22 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 along with this program. If not, see <http://www.gnu.org/licenses/>. */
23 */ 22
23 #include "defs.h"
24 24
25 #include <ctype.h> 25 #include <ctype.h>
26 #include <errno.h> 26 #include <errno.h>
27 #include <limits.h> 27 #include <limits.h>
28 #include <setjmp.h> 28 #include <setjmp.h>
29 #include <signal.h> 29 #include <signal.h>
30 #include <stdio.h> 30 #include <stdio.h>
31 #include "gdb_string.h" 31 #include <string.h>
32 #include <sys/ptrace.h> 32 #include <sys/ptrace.h>
33 33
34 #include <mach.h> 34 #include <mach.h>
35 #include <mach_error.h> 35 #include <mach_error.h>
36 #include <mach/exception.h> 36 #include <mach/exception.h>
37 #include <mach/message.h> 37 #include <mach/message.h>
38 #include <mach/notify.h> 38 #include <mach/notify.h>
39 #include <mach/vm_attributes.h> 39 #include <mach/vm_attributes.h>
40 40
41 #include <hurd.h> 41 #include <hurd.h>
42 #include <hurd/interrupt.h> 42 #include <hurd/interrupt.h>
43 #include <hurd/msg.h> 43 #include <hurd/msg.h>
44 #include <hurd/msg_request.h> 44 #include <hurd/msg_request.h>
45 #include <hurd/process.h> 45 #include <hurd/process.h>
46 /* Defined in <hurd/process.h>, but we need forward declarations from 46 /* Defined in <hurd/process.h>, but we need forward declarations from
47 <hurd/process_request.h> as well. */ 47 <hurd/process_request.h> as well. */
48 #undef _process_user_ 48 #undef _process_user_
49 #include <hurd/process_request.h> 49 #include <hurd/process_request.h>
50 #include <hurd/signal.h> 50 #include <hurd/signal.h>
51 #include <hurd/sigpreempt.h> 51 #include <hurd/sigpreempt.h>
52 52
53 #include <portinfo.h> 53 #include <portinfo.h>
54 54
55 #include "defs.h"
56 #include "inferior.h" 55 #include "inferior.h"
57 #include "symtab.h" 56 #include "symtab.h"
58 #include "value.h" 57 #include "value.h"
59 #include "language.h" 58 #include "language.h"
60 #include "target.h" 59 #include "target.h"
61 #include "gdb_wait.h" 60 #include "gdb_wait.h"
62 #include "gdbcmd.h" 61 #include "gdbcmd.h"
63 #include "gdbcore.h" 62 #include "gdbcore.h"
64 #include "gdbthread.h" 63 #include "gdbthread.h"
65 #include "gdb_assert.h" 64 #include "gdb_assert.h"
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 thread = _proc_free (thread); /* THREAD is dead. */ 1073 thread = _proc_free (thread); /* THREAD is dead. */
1075 if (last) 1074 if (last)
1076 last->next = thread; 1075 last->next = thread;
1077 else 1076 else
1078 inf->threads = thread; 1077 inf->threads = thread;
1079 } 1078 }
1080 } 1079 }
1081 1080
1082 for (i = 0; i < num_threads; i++) 1081 for (i = 0; i < num_threads; i++)
1083 { 1082 {

error: old chunk mismatch

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

Powered by Google App Engine
This is Rietveld 408576698