aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:33:44 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:45:51 -0700
commit94bedb42a7fe3265db2f84d9c7f2a73979953de0 (patch)
tree7c3768377e6d7a917fa71e42f734b6371f539f2c /gdb/remote.c
parentda82bd6b65af8f3cec02621435331983b27d93a0 (diff)
downloadgdb-94bedb42a7fe3265db2f84d9c7f2a73979953de0.zip
gdb-94bedb42a7fe3265db2f84d9c7f2a73979953de0.tar.gz
gdb-94bedb42a7fe3265db2f84d9c7f2a73979953de0.tar.bz2
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/remote.c')
-rw-r--r--gdb/remote.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 0c9de6d..7b295ab 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -1695,7 +1695,8 @@ record_currthread (struct remote_state *rs, ptid_t currthread)
it can simply pass through to the inferior without reporting. */
static void
-remote_pass_signals (int numsigs, unsigned char *pass_signals)
+remote_pass_signals (struct target_ops *self,
+ int numsigs, unsigned char *pass_signals)
{
if (remote_protocol_packets[PACKET_QPassSignals].support != PACKET_DISABLE)
{
@@ -3592,7 +3593,7 @@ remote_start_remote (int from_tty, struct target_ops *target, int extended_p)
gdb_assert (wait_status == NULL);
/* Report all signals during attach/startup. */
- remote_pass_signals (0, NULL);
+ remote_pass_signals (target, 0, NULL);
}
/* If we connected to a live target, do some additional setup. */