Add target_ops argument to to_pass_signals
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_pass_signals>: Add argument. * target.c (target_pass_signals): Add argument. * remote.c (remote_pass_signals): Add 'self' argument. (remote_start_remote): Update. * procfs.c (procfs_pass_signals): Add 'self' argument. * nto-procfs.c (procfs_pass_signals): Add 'self' argument. * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. (linux_nat_create_inferior, linux_nat_attach): Update.
This commit is contained in:
parent
da82bd6b65
commit
94bedb42a7
7 changed files with 26 additions and 10 deletions
|
@ -2821,7 +2821,7 @@ target_pass_signals (int numsigs, unsigned char *pass_signals)
|
|||
fprintf_unfiltered (gdb_stdlog, " })\n");
|
||||
}
|
||||
|
||||
(*t->to_pass_signals) (numsigs, pass_signals);
|
||||
(*t->to_pass_signals) (t, numsigs, pass_signals);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue