aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/thread-db.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/thread-db.cc')
-rw-r--r--gdbserver/thread-db.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdbserver/thread-db.cc b/gdbserver/thread-db.cc
index 20e1dcc..b964389 100644
--- a/gdbserver/thread-db.cc
+++ b/gdbserver/thread-db.cc
@@ -32,7 +32,6 @@
#include <dlfcn.h>
#endif
#include <limits.h>
-#include <ctype.h>
struct thread_db
{
@@ -849,7 +848,7 @@ thread_db_handle_monitor_command (char *mon)
free (libthread_db_search_path);
/* Skip leading space (if any). */
- while (isspace (*cp))
+ while (c_isspace (*cp))
++cp;
if (*cp == '\0')