Add target_ops argument to to_post_attach
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_post_attach>: Add argument. (target_post_attach): Add argument. * target.c (debug_to_post_attach): Add argument. (update_current_target): Update. * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. * nto-procfs.c (procfs_post_attach): Add 'self' argument. * linux-nat.c (linux_child_post_attach): Add 'self' argument. * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. * inf-child.c (inf_child_post_attach): Add 'self' argument.
This commit is contained in:
parent
de90e03d4c
commit
f045800c90
8 changed files with 22 additions and 10 deletions
|
@ -648,7 +648,7 @@ procfs_attach (struct target_ops *ops, char *args, int from_tty)
|
|||
}
|
||||
|
||||
static void
|
||||
procfs_post_attach (pid_t pid)
|
||||
procfs_post_attach (struct target_ops *self, pid_t pid)
|
||||
{
|
||||
if (exec_bfd)
|
||||
solib_create_inferior_hook (0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue