OLD | NEW |
1 /* Low-level child interface to ptrace. | 1 /* Low-level child interface to ptrace. |
2 | 2 |
3 Copyright (C) 1988-1996, 1998-2002, 2004-2012 Free Software | 3 Copyright (C) 1988-1996, 1998-2002, 2004-2012 Free Software |
4 Foundation, Inc. | 4 Foundation, Inc. |
5 | 5 |
6 This file is part of GDB. | 6 This file is part of GDB. |
7 | 7 |
8 This program is free software; you can redistribute it and/or modify | 8 This program is free software; you can redistribute it and/or modify |
9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
10 the Free Software Foundation; either version 3 of the License, or | 10 the Free Software Foundation; either version 3 of the License, or |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 inf = current_inferior (); | 240 inf = current_inferior (); |
241 inferior_appeared (inf, pid); | 241 inferior_appeared (inf, pid); |
242 inf->attach_flag = 1; | 242 inf->attach_flag = 1; |
243 inferior_ptid = pid_to_ptid (pid); | 243 inferior_ptid = pid_to_ptid (pid); |
244 | 244 |
245 /* Always add a main thread. If some target extends the ptrace | 245 /* Always add a main thread. If some target extends the ptrace |
246 target, it should decorate the ptid later with more info. */ | 246 target, it should decorate the ptid later with more info. */ |
247 add_thread_silent (inferior_ptid); | 247 add_thread_silent (inferior_ptid); |
248 | 248 |
249 if (! ops_already_pushed) | 249 if (! ops_already_pushed) |
error: old chunk mismatch |
None
OLD | NEW |