diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-sym-info-2.c')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-sym-info-2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-sym-info-2.c b/gdb/testsuite/gdb.mi/mi-sym-info-2.c index f514e42..8b17029 100644 --- a/gdb/testsuite/gdb.mi/mi-sym-info-2.c +++ b/gdb/testsuite/gdb.mi/mi-sym-info-2.c @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ static int global_i1; -static float global_f1; +static float __attribute__ ((used)) global_f1; int global_i2; int global_f2; @@ -44,5 +44,5 @@ f3 (another_int_t arg) typedef char another_char_t; typedef short another_short_t; -static another_char_t var1; -static another_short_t var2; +static another_char_t __attribute__ ((used)) var1; +static another_short_t __attribute__ ((used)) var2; |