aboutsummaryrefslogtreecommitdiff
path: root/gdb/arc-linux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arc-linux-nat.c')
-rw-r--r--gdb/arc-linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arc-linux-nat.c b/gdb/arc-linux-nat.c
index db5d443..b03363a 100644
--- a/gdb/arc-linux-nat.c
+++ b/gdb/arc-linux-nat.c
@@ -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)