Add push_target overload
[deliverable/binutils-gdb.git] / gdb / target.h
index 96413aa6c3a5039d20dbe7ffc93db7ec0e2a5788..c95151a4044f81f4b1596505b966c6110e757a1e 100644 (file)
@@ -2333,6 +2333,9 @@ extern void add_deprecated_target_alias (const target_info &info,
 
 extern void push_target (struct target_ops *);
 
+/* An overload that deletes the target on failure.  */
+extern void push_target (target_ops_up &&);
+
 extern int unpush_target (struct target_ops *);
 
 extern void target_pre_inferior (int);
This page took 0.031583 seconds and 4 git commands to generate.