aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ChangeLog
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-07-14 10:36:17 +0200
committerTom de Vries <tdevries@suse.de>2020-07-14 10:36:17 +0200
commit025a39a7c26e9f19985a392797c9499923a555d7 (patch)
tree5e5ab7b1396c0890e6b7671f43c491b02065289e /opcodes/ChangeLog
parent7531c61332dbd9061b09312e44b62523547e8225 (diff)
downloadgdb-025a39a7c26e9f19985a392797c9499923a555d7.zip
gdb-025a39a7c26e9f19985a392797c9499923a555d7.tar.gz
gdb-025a39a7c26e9f19985a392797c9499923a555d7.tar.bz2
[gdb/testsuite] Fix clone-new-thread-event.c with glibc 2.30
Starting glibc 2.30, unistd.h declares gettid (for _GNU_SOURCE). This clashes with a static gettid in test source clone-new-thread-event.c: ... gdb compile failed, gdb.threads/clone-new-thread-event.c:46:1: error: \ static declaration of 'gettid' follows non-static declaration 46 | gettid (void) | ^~~~~~ In file included from /usr/include/unistd.h:1170, from gdb.threads/clone-new-thread-event.c:27: /usr/include/bits/unistd_ext.h:34:16: note: previous declaration of 'gettid' \ was here 34 | extern __pid_t gettid (void) __THROW; | ^~~~~~ ... Fix this by renaming the static gettid to local_gettid. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-07-14 Tom de Vries <tdevries@suse.de> * gdb.threads/clone-new-thread-event.c (gettid): Rename to ... (local_gettid): ... this. (fn): Update.
Diffstat (limited to 'opcodes/ChangeLog')
0 files changed, 0 insertions, 0 deletions