aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-05-26 08:09:25 +0000
committerYao Qi <yao@codesourcery.com>2011-05-26 08:09:25 +0000
commit59d70315fb5373d4c924b118c4f2d0d7e0e99e7d (patch)
treef3aa672b56253f56b8a9f6f7e8cb63275b649a16
parent251d32d96eb30422d48d270a0d55a02c0203f4c9 (diff)
downloadgdb-59d70315fb5373d4c924b118c4f2d0d7e0e99e7d.zip
gdb-59d70315fb5373d4c924b118c4f2d0d7e0e99e7d.tar.gz
gdb-59d70315fb5373d4c924b118c4f2d0d7e0e99e7d.tar.bz2
2011-05-26 Yao Qi <yao@codesourcery.com>
* gdb/gdb_thread_db.h: Remove HAVE_UINTPTR_T.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/gdb_thread_db.h10
2 files changed, 4 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 17dae91..678ed3b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-26 Yao Qi <yao@codesourcery.com>
+
+ * gdb/gdb_thread_db.h: Remove HAVE_UINTPTR_T.
+
2011-05-26 Tristan Gingold <gingold@adacore.com>
* symfile.h (struct dwarf2_section_names): New type.
diff --git a/gdb/gdb_thread_db.h b/gdb/gdb_thread_db.h
index e20b415..c770b0c 100644
--- a/gdb/gdb_thread_db.h
+++ b/gdb/gdb_thread_db.h
@@ -203,16 +203,6 @@ typedef struct td_notify
} u;
} td_notify_t;
-/* Some people still have libc5 or old glibc with no uintptr_t.
- They lose. glibc 2.1.3 was released on 2000-02-25, and it has
- uintptr_t, so it's reasonable to force these people to upgrade. */
-
-#ifndef HAVE_UINTPTR_T
-#error No uintptr_t available; your C library is too old.
-/* Inhibit further compilation errors after this error. */
-#define uintptr_t void *
-#endif
-
/* Structure used to report event. */
typedef struct td_event_msg
{