aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:40:23 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:12 -0700
commit8d65703517069975d781d7957d90a9de3ce94e5d (patch)
tree338bab9d0dbba3c4411b4d50808418fe8d423453 /gdb/target.h
parent098dba18ee55150df53f3a6846de4dd9c7564088 (diff)
downloadgdb-8d65703517069975d781d7957d90a9de3ce94e5d.zip
gdb-8d65703517069975d781d7957d90a9de3ce94e5d.tar.gz
gdb-8d65703517069975d781d7957d90a9de3ce94e5d.tar.bz2
convert to_mourn_inferior
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (default_mourn_inferior): New function. (target_mourn_inferior): Unconditionally delegate. * target.h (struct target_ops) <to_mourn_inferior>: Use TARGET_DEFAULT_FUNC.
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 a35f7e6..884abf1 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -544,7 +544,8 @@ struct target_ops
TARGET_DEFAULT_RETURN (1);
int (*to_has_exited) (struct target_ops *, int, int, int *)
TARGET_DEFAULT_RETURN (0);
- void (*to_mourn_inferior) (struct target_ops *);
+ void (*to_mourn_inferior) (struct target_ops *)
+ TARGET_DEFAULT_FUNC (default_mourn_inferior);
int (*to_can_run) (struct target_ops *);
/* Documentation of this routine is provided with the corresponding