Index: gdb/testsuite/gdb.python/py-symbol.c |
diff --git a/gdb/testsuite/gdb.python/py-symbol.c b/gdb/testsuite/gdb.python/py-symbol.c |
index 72469be4e4e8dd979099060d7416d95b8d9dc881..82395f11eceadd1e3ace9bd929d6e088bb017f84 100644 |
--- a/gdb/testsuite/gdb.python/py-symbol.c |
+++ b/gdb/testsuite/gdb.python/py-symbol.c |
@@ -35,13 +35,20 @@ class SimpleClass |
}; |
#endif |
+int qq = 72; /* line of qq */ |
+ |
int func (int arg) |
{ |
int i = 2; |
- i = i * arg; |
- return arg; /* Block break here. */ |
+ i = i * arg; /* Block break here. */ |
+ return arg; |
} |
+struct simple_struct |
+{ |
+ int a; |
+}; |
+ |
int main (int argc, char *argv[]) |
{ |
#ifdef __cplusplus |
@@ -49,6 +56,7 @@ int main (int argc, char *argv[]) |
#endif |
int a = 0; |
int result; |
+ struct simple_struct ss = { 10 }; |
enum tag {one, two, three}; |
enum tag t = one; |