diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-18 14:38:04 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:48:11 -0700 |
commit | 098dba18ee55150df53f3a6846de4dd9c7564088 (patch) | |
tree | d611f281682d1585b4ba273f947d85c6537234e7 /gdb/target.h | |
parent | 423a48075e748691f7fa83dbae404da3e4edc914 (diff) | |
download | gdb-098dba18ee55150df53f3a6846de4dd9c7564088.zip gdb-098dba18ee55150df53f3a6846de4dd9c7564088.tar.gz gdb-098dba18ee55150df53f3a6846de4dd9c7564088.tar.bz2 |
convert to_follow_fork
2014-02-19 Tom Tromey <tromey@redhat.com>
* target-delegates.c: Rebuild.
* target.c (default_follow_fork): New function.
(target_follow_fork): Unconditionally delegate.
* target.h (struct target_ops) <to_follow_fork>: Use
TARGET_DEFAULT_FUNC.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h index 5b6ada7..a35f7e6 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -533,7 +533,8 @@ struct target_ops TARGET_DEFAULT_RETURN (1); int (*to_remove_vfork_catchpoint) (struct target_ops *, int) TARGET_DEFAULT_RETURN (1); - int (*to_follow_fork) (struct target_ops *, int, int); + int (*to_follow_fork) (struct target_ops *, int, int) + TARGET_DEFAULT_FUNC (default_follow_fork); int (*to_insert_exec_catchpoint) (struct target_ops *, int) TARGET_DEFAULT_RETURN (1); int (*to_remove_exec_catchpoint) (struct target_ops *, int) |