diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:37:56 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:08 -0700 |
commit | efcc2da70ea8bdb9153f1e717e84c0b9d976b394 (patch) | |
tree | 73956e0e86eb2e7c678e7d2f8ca61b9e16737d2f /gdb/target.h | |
parent | 6de37a3aae4e37be2ea2ba8f9141ba63937f2c48 (diff) | |
download | binutils-efcc2da70ea8bdb9153f1e717e84c0b9d976b394.zip binutils-efcc2da70ea8bdb9153f1e717e84c0b9d976b394.tar.gz binutils-efcc2da70ea8bdb9153f1e717e84c0b9d976b394.tar.bz2 |
Add target_ops argument to to_supports_evaluation_of_breakpoint_conditions
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops)
<to_supports_evaluation_of_breakpoint_conditions>: Add argument.
(target_supports_evaluation_of_breakpoint_conditions): Add
argument.
* target.c (update_current_target): Update.
* remote.c (remote_supports_cond_breakpoints): Add 'self'
argument.
(remote_insert_breakpoint): Add 'self' argument.
(remote_insert_hw_breakpoint): Add 'self' argument.
(remote_supports_cond_breakpoints): 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 9ad6d4d..ce73863 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -686,7 +686,7 @@ struct target_ops /* Does this target support evaluation of breakpoint conditions on its end? */ - int (*to_supports_evaluation_of_breakpoint_conditions) (void); + int (*to_supports_evaluation_of_breakpoint_conditions) (struct target_ops *); /* Does this target support evaluation of breakpoint commands on its end? */ @@ -1123,7 +1123,7 @@ int target_supports_disable_randomization (void); on its end. */ #define target_supports_evaluation_of_breakpoint_conditions() \ - (*current_target.to_supports_evaluation_of_breakpoint_conditions) () + (*current_target.to_supports_evaluation_of_breakpoint_conditions) (¤t_target) /* Returns true if this target can handle breakpoint commands on its end. */ |