aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/virtbase2.cc
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2020-09-13 21:28:09 +0100
committerPedro Alves <pedro@palves.net>2020-09-13 21:28:09 +0100
commitaf26601c2f657535af68cc3cec2af969838877da (patch)
tree75525b0ea7980285f489337668f0780a3b4e44e0 /gdb/testsuite/gdb.cp/virtbase2.cc
parent2f4b83cd51953fdf9626dc7a198b35505d1f5472 (diff)
downloadbinutils-af26601c2f657535af68cc3cec2af969838877da.zip
binutils-af26601c2f657535af68cc3cec2af969838877da.tar.gz
binutils-af26601c2f657535af68cc3cec2af969838877da.tar.bz2
Fix gdb.base/share-env-with-gdbserver.exp with Clang
The testcase has GDB call my_getenv in the inferior, and that fails with Clang, because Clang optimizes out my_getenv completely, since it isn't called anywhere (in the program). This commit fixes it. gdb/testsuite/ChangeLog: * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv instead of getenv.
Diffstat (limited to 'gdb/testsuite/gdb.cp/virtbase2.cc')
0 files changed, 0 insertions, 0 deletions