]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/procfs.c
Use false/true for some inferior class members instead of 0/1
[thirdparty/binutils-gdb.git] / gdb / procfs.c
index 141db3dd7932e249696849a356b0af47e8afe899..ac3d60ebf1c82de3b58ad00d05043adb7002009b 100644 (file)
@@ -1849,7 +1849,7 @@ do_attach (ptid_t ptid)
   inf = current_inferior ();
   inferior_appeared (inf, pi->pid);
   /* Let GDB know that the inferior was attached.  */
-  inf->attach_flag = 1;
+  inf->attach_flag = true;
 
   /* Create a procinfo for the current lwp.  */
   lwpid = proc_get_current_thread (pi);