diff options
Diffstat (limited to 'gdb/testsuite/gdb.multi/watchpoint-multi-exit.c')
-rw-r--r-- | gdb/testsuite/gdb.multi/watchpoint-multi-exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.multi/watchpoint-multi-exit.c b/gdb/testsuite/gdb.multi/watchpoint-multi-exit.c index 3231b70..fb9a1f6 100644 --- a/gdb/testsuite/gdb.multi/watchpoint-multi-exit.c +++ b/gdb/testsuite/gdb.multi/watchpoint-multi-exit.c @@ -21,7 +21,7 @@ #include <sys/wait.h> /* GDB sets watchpoint here. */ -static volatile int globalvar; +static volatile int __attribute__ ((used)) globalvar; /* Whether it's expected that the child exits with a signal, vs exiting normally. GDB sets this. */ |