]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/arc-linux-nat.c
gdb: turn arc_debug into a bool
[thirdparty/binutils-gdb.git] / gdb / arc-linux-nat.c
index db5d44312a68d6abfac8063aea3419e7e28125d0..b03363a4865443e876fe602fc472869a7272de51 100644 (file)
@@ -295,7 +295,7 @@ ps_err_e
 ps_get_thread_area (struct ps_prochandle *ph, lwpid_t lwpid, int idx,
                    void **base)
 {
-  if (arc_debug >= 2)
+  if (arc_debug)
     debug_printf ("arc-linux-nat: ps_get_thread_area called");
 
   if (ptrace (PTRACE_GET_THREAD_AREA, lwpid, NULL, base) != 0)