diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/remote.c | 3 | ||||
-rw-r--r-- | gdb/target.c | 2 | ||||
-rw-r--r-- | gdb/target.h | 2 |
4 files changed, 10 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 12442cd..de65083 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2014-02-19 Tom Tromey <tromey@redhat.com> + * target.h (struct target_ops) <to_program_signals>: Add argument. + * target.c (target_program_signals): Add argument. + * remote.c (remote_program_signals): Add 'self' argument. + +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. diff --git a/gdb/remote.c b/gdb/remote.c index 7b295ab..829c2b4 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -1746,7 +1746,8 @@ remote_pass_signals (struct target_ops *self, signals it should pass through to the inferior when detaching. */ static void -remote_program_signals (int numsigs, unsigned char *signals) +remote_program_signals (struct target_ops *self, + int numsigs, unsigned char *signals) { if (remote_protocol_packets[PACKET_QProgramSignals].support != PACKET_DISABLE) { diff --git a/gdb/target.c b/gdb/target.c index 38bb16a..b516532 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -2851,7 +2851,7 @@ target_program_signals (int numsigs, unsigned char *program_signals) fprintf_unfiltered (gdb_stdlog, " })\n"); } - (*t->to_program_signals) (numsigs, program_signals); + (*t->to_program_signals) (t, numsigs, program_signals); return; } } diff --git a/gdb/target.h b/gdb/target.h index e323093..3ae290b 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -517,7 +517,7 @@ struct target_ops /* Documentation of this routine is provided with the corresponding target_* function. */ - void (*to_program_signals) (int, unsigned char *); + void (*to_program_signals) (struct target_ops *, int, unsigned char *); int (*to_thread_alive) (struct target_ops *, ptid_t ptid); void (*to_find_new_threads) (struct target_ops *); |