aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:20:36 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:06 -0700
commit843f59ed2647d73ed7ba46885ac3820ff97fbdc5 (patch)
tree12ce415ae968cc3aad16a553cb3681ee409a0e14 /gdb/target.h
parentccfde2a0c07136f95907a7d545cf6781273ba4a0 (diff)
downloadgdb-843f59ed2647d73ed7ba46885ac3820ff97fbdc5.zip
gdb-843f59ed2647d73ed7ba46885ac3820ff97fbdc5.tar.gz
gdb-843f59ed2647d73ed7ba46885ac3820ff97fbdc5.tar.bz2
convert to_can_run_breakpoint_commands
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_can_run_breakpoint_commands. * target.h (struct target_ops) <to_can_run_breakpoint_commands>: Use TARGET_DEFAULT_RETURN.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 97c5384..44d270c 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -735,7 +735,8 @@ struct target_ops
/* Does this target support evaluation of breakpoint commands on its
end? */
- int (*to_can_run_breakpoint_commands) (struct target_ops *);
+ int (*to_can_run_breakpoint_commands) (struct target_ops *)
+ TARGET_DEFAULT_RETURN (0);
/* Determine current architecture of thread PTID.