Ensure unreferenced static symbols aren't omitted by clang (either marking them __att...
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 11 Apr 2014 06:45:28 +0000 (23:45 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 25 Apr 2014 05:33:46 +0000 (22:33 -0700)
commit2abc3f8d59e0130e5340a5489b53556f12c9d0ce
treeebf0a63d7b75cc28f95730b831108de8f63e28ff
parentbfd39632142cba581a430e41ed38c5153d1fc07a
Ensure unreferenced static symbols aren't omitted by clang (either marking them __attribute__((used)) or making them non-static)

gdb/testsuite/
       * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
       ensure clang would not discard them.
       * gdb.base/gdbvars.c: Ditto.
       * gdb.base/memattr.c: Ditto.
       * gdb.base/whatis.c: Ditto.
       * gdb.python/py-prettyprint.c: Ditto.
       * gdb.trace/actions.c: Ditto.
       * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
       ensure clang would not discard it.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/catch-syscall.c
gdb/testsuite/gdb.base/gdbvars.c
gdb/testsuite/gdb.base/memattr.c
gdb/testsuite/gdb.base/whatis.c
gdb/testsuite/gdb.cp/ptype-cv-cp.cc
gdb/testsuite/gdb.python/py-prettyprint.c
gdb/testsuite/gdb.trace/actions.c