From 30220b46d4cc34f4882525eb92b40725637cbba7 Mon Sep 17 00:00:00 2001 From: Philippe Waroquiers Date: Sun, 27 Nov 2022 17:57:08 +0100 Subject: Use false/true for some inferior class members instead of 0/1 Some class members were changed to bool, but there was still some assignments or comparisons using 0/1. Approved-By: Simon Marchi --- gdb/procfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/procfs.c') diff --git a/gdb/procfs.c b/gdb/procfs.c index 141db3d..ac3d60e 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -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); -- cgit v1.1