diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:37:07 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:05 -0700 |
commit | 86ce266821fee1fd9af0f00862857b25f9caf4e6 (patch) | |
tree | 0c7f5810200a1ed61f7ae709c94f442b59292ad9 /gdb/target.h | |
parent | 4c6127599b8d882f3125e28bca938548367bf0f3 (diff) | |
download | binutils-86ce266821fee1fd9af0f00862857b25f9caf4e6.zip binutils-86ce266821fee1fd9af0f00862857b25f9caf4e6.tar.gz binutils-86ce266821fee1fd9af0f00862857b25f9caf4e6.tar.bz2 |
Add target_ops argument to to_supports_multi_process
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops) <to_supports_multi_process>: Add
argument.
(target_supports_multi_process): Add argument.
* target.c (update_current_target): Update.
* remote.c (remote_supports_multi_process): Add 'self' argument.
* linux-nat.c (linux_nat_supports_multi_process): Add 'self'
argument.
* darwin-nat.c (darwin_supports_multi_process): Add 'self'
argument.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.h b/gdb/target.h index 57e97ca..cb58f4c 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -672,7 +672,7 @@ struct target_ops /* Does this target support debugging multiple processes simultaneously? */ - int (*to_supports_multi_process) (void); + int (*to_supports_multi_process) (struct target_ops *); /* Does this target support enabling and disabling tracepoints while a trace experiment is running? */ @@ -1104,7 +1104,7 @@ int target_info_proc (char *, enum info_proc_what); simultaneously. */ #define target_supports_multi_process() \ - (*current_target.to_supports_multi_process) () + (*current_target.to_supports_multi_process) (¤t_target) /* Returns true if this target can disable address space randomization. */ |