diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:33:44 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:45:51 -0700 |
commit | 94bedb42a7fe3265db2f84d9c7f2a73979953de0 (patch) | |
tree | 7c3768377e6d7a917fa71e42f734b6371f539f2c /gdb/procfs.c | |
parent | da82bd6b65af8f3cec02621435331983b27d93a0 (diff) | |
download | binutils-gdb-94bedb42a7fe3265db2f84d9c7f2a73979953de0.tar.gz |
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.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index 511ddf1c812..bbe29f2422d 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -119,7 +119,8 @@ static void procfs_fetch_registers (struct target_ops *, struct regcache *, int); static void procfs_store_registers (struct target_ops *, struct regcache *, int); -static void procfs_pass_signals (int, unsigned char *); +static void procfs_pass_signals (struct target_ops *self, + int, unsigned char *); static void procfs_kill_inferior (struct target_ops *ops); static void procfs_mourn_inferior (struct target_ops *ops); static void procfs_create_inferior (struct target_ops *, char *, @@ -4227,7 +4228,8 @@ procfs_resume (struct target_ops *ops, /* Set up to trace signals in the child process. */ static void -procfs_pass_signals (int numsigs, unsigned char *pass_signals) +procfs_pass_signals (struct target_ops *self, + int numsigs, unsigned char *pass_signals) { gdb_sigset_t signals; procinfo *pi = find_procinfo_or_die (ptid_get_pid (inferior_ptid), 0); |