gdb.base/gcore.c (array_func): Add reference to static_array.
authorDoug Evans <dje@google.com>
Mon, 28 Sep 2015 20:27:28 +0000 (13:27 -0700)
committerDoug Evans <dje@google.com>
Mon, 28 Sep 2015 20:27:28 +0000 (13:27 -0700)
commitc60eb31fb11129ee91b9f778b852f886db545381
tree0b82afeb0dcac50419bbf652414f7c300e67c6eb
parent245af5969525a0d1cdcb1c0c632587d5cec27646
gdb.base/gcore.c (array_func): Add reference to static_array.

Otherwise clang will delete it: it's otherwise unused.

gdb/testsuite/ChangeLog:

* gdb.base/gcore.c (array_func): Add reference to static_array.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/gcore.c