aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/linux-ptrace.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-04-16 18:17:11 +0000
committerPedro Alves <palves@redhat.com>2013-04-16 18:17:11 +0000
commitf5fb825b47edb700ec063c5c332d6a17d557ed51 (patch)
treead51387e366512185b27eea6c2cbd0f30aca790f /gdb/common/linux-ptrace.h
parente115499952a0cf7f9d393098a4a9e97acf478837 (diff)
downloadbinutils-f5fb825b47edb700ec063c5c332d6a17d557ed51.zip
binutils-f5fb825b47edb700ec063c5c332d6a17d557ed51.tar.gz
binutils-f5fb825b47edb700ec063c5c332d6a17d557ed51.tar.bz2
Update glibc_thread_db.h from upstream.
Attempting to build gdbserver with our copy of thread_db.h yields: In file included from ../../../src/gdb/gdbserver/../common/gdb_thread_db.h:4:0, from ../../../src/gdb/gdbserver/thread-db.c:30: ../../../src/gdb/gdbserver/../common/glibc_thread_db.h:108:3: error: unknown type name ‘uint32_t’ In file included from ../../../src/gdb/gdbserver/../common/gdb_thread_db.h:4:0, from ../../../src/gdb/gdbserver/thread-db.c:30: ../../../src/gdb/gdbserver/../common/glibc_thread_db.h:199:5: error: unknown type name ‘uintptr_t’ ../../../src/gdb/gdbserver/../common/glibc_thread_db.h:269:3: error: unknown type name ‘intptr_t’ ../../../src/gdb/gdbserver/../common/glibc_thread_db.h:270:3: error: unknown type name ‘intptr_t’ We used to have a workaround for this, but the patch to import gnulib's stdint.h removed it: http://www.sourceware.org/ml/gdb-patches/2008-06/msg00050.html and defs.h made to always include stdint.h. However, gdbserver doesn't include stdint.h in its equivalent server.h. Rather than working around the issue, I've imported a more recent version from glibc, which itself includes <stdint.h>. Other than copyright years and FSF snail mail address, the file hasn't been touched since 2003 in glibc. AFAICS, our version was updated last in 2000-09-03. A note on the apparent license change: before the previous patch, this file's contents were part of gdb_thread_db.h, and we can see that its license's text was changed in this patch <http://sourceware.org/ml/gdb-patches/2009-03/msg00251.html>. That was certainly just an easy to overlook grep/sed mistake that fell through the cracks. gdb/common/ 2013-04-16 Pedro Alves <palves@redhat.com> * glibc_thread_db.h: Update from upstream glibc (git 568035b7874a099087b77f7bba3e36a1173787b0).
Diffstat (limited to 'gdb/common/linux-ptrace.h')
0 files changed, 0 insertions, 0 deletions