]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/inferior.c
Use new and delete for struct infcall_control_state
[thirdparty/binutils-gdb.git] / gdb / inferior.c
index 76f5581b7dbe4e00100d1e2d846d24fc160ebfa5..17d28c4cf5486f594fb2713238350701c41e860b 100644 (file)
@@ -226,7 +226,7 @@ exit_inferior_1 (struct inferior *inftoex, int silent)
 
   inf->pending_detach = 0;
   /* Reset it.  */
-  inf->control = {NO_STOP_QUIETLY};
+  inf->control = inferior_control_state (NO_STOP_QUIETLY);
 }
 
 void