OLD | NEW |
1 /* Solaris threads debugging interface. | 1 /* Solaris threads debugging interface. |
2 | 2 |
3 Copyright (C) 1996-2005, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 1996-2005, 2007-2012 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 #include "gdbcore.h" | 62 #include "gdbcore.h" |
63 #include "regcache.h" | 63 #include "regcache.h" |
64 #include "solib.h" | 64 #include "solib.h" |
65 #include "symfile.h" | 65 #include "symfile.h" |
66 #include "observer.h" | 66 #include "observer.h" |
67 #include "gdb_string.h" | 67 #include "gdb_string.h" |
68 #include "procfs.h" | 68 #include "procfs.h" |
69 | 69 |
70 struct target_ops sol_thread_ops; | 70 struct target_ops sol_thread_ops; |
71 | 71 |
72 extern char *procfs_pid_to_str (struct target_ops *ops, ptid_t ptid); | |
73 | |
74 /* Prototypes for supply_gregset etc. */ | 72 /* Prototypes for supply_gregset etc. */ |
75 #include "gregset.h" | 73 #include "gregset.h" |
76 | 74 |
77 /* This struct is defined by us, but mainly used for the proc_service | 75 /* This struct is defined by us, but mainly used for the proc_service |
78 interface. We don't have much use for it, except as a handy place | 76 interface. We don't have much use for it, except as a handy place |
79 to get a real PID for memory accesses. */ | 77 to get a real PID for memory accesses. */ |
80 | 78 |
81 struct ps_prochandle | 79 struct ps_prochandle |
82 { | 80 { |
83 ptid_t ptid; | 81 ptid_t ptid; |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 { | 335 { |
338 struct target_ops *beneath = find_target_beneath (ops); | 336 struct target_ops *beneath = find_target_beneath (ops); |
339 | 337 |
340 sol_thread_active = 0; | 338 sol_thread_active = 0; |
341 inferior_ptid = pid_to_ptid (PIDGET (main_ph.ptid)); | 339 inferior_ptid = pid_to_ptid (PIDGET (main_ph.ptid)); |
342 unpush_target (ops); | 340 unpush_target (ops); |
343 beneath->to_detach (beneath, args, from_tty); | 341 beneath->to_detach (beneath, args, from_tty); |
344 } | 342 } |
345 | 343 |
346 /* Resume execution of process PTID. If STEP is nozero, then just | 344 /* Resume execution of process PTID. If STEP is nozero, then just |
error: old chunk mismatch |
None
OLD | NEW |