aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/lynx-low.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-12-17 10:51:29 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-12-17 10:51:29 +0000
commit78cbc0240c66d43cad111ad577f6b654f92cec37 (patch)
tree8aab415e58e017f495212433a63cecd1af7b164c /gdb/gdbserver/lynx-low.c
parent4194268f43623a5f893b9a92b0456d3cb43ab915 (diff)
downloadgdb-78cbc0240c66d43cad111ad577f6b654f92cec37.zip
gdb-78cbc0240c66d43cad111ad577f6b654f92cec37.tar.gz
gdb-78cbc0240c66d43cad111ad577f6b654f92cec37.tar.bz2
lynx-low.c: PTRACE_GETTHREADLIST may not be defined.
LynxOS 178 does not define this macro. gdb/gdbserver/ChangeLog: * lynx-low.c (ptrace_request_to_str): Do not handle PTRACE_GETTHREADLIST if this macro does not exist.
Diffstat (limited to 'gdb/gdbserver/lynx-low.c')
-rw-r--r--gdb/gdbserver/lynx-low.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbserver/lynx-low.c b/gdb/gdbserver/lynx-low.c
index 1a4757e..2f81ee7 100644
--- a/gdb/gdbserver/lynx-low.c
+++ b/gdb/gdbserver/lynx-low.c
@@ -255,9 +255,11 @@ ptrace_request_to_str (int request)
case PTRACE_GETLOADINFO:
return "PTRACE_GETLOADINFO";
break;
+#ifdef PTRACE_GETTHREADLIST
case PTRACE_GETTHREADLIST:
return "PTRACE_GETTHREADLIST";
break;
+#endif
}
return "<unknown-request>";
}