Add Objfile.lookup_{global,static}_symbol functions
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.python / py-objfile.c
index 4979cd74beac2728648a1ba9cf56848703126c56..6d751bddae38aebf2c929d29cd522d38c82c151a 100644 (file)
@@ -1,6 +1,6 @@
 /* This testcase is part of GDB, the GNU debugger.
 
-   Copyright 2011-2012 Free Software Foundation, Inc.
+   Copyright 2011-2019 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -15,6 +15,9 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+int global_var = 42;
+static int static_var = 50;
+
 int
 main ()
 {
This page took 0.024047 seconds and 4 git commands to generate.