summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/dmsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/dmsym.c')
-rw-r--r--gdb/testsuite/gdb.base/dmsym.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/dmsym.c b/gdb/testsuite/gdb.base/dmsym.c
index f358b517ab9..dccea237340 100644
--- a/gdb/testsuite/gdb.base/dmsym.c
+++ b/gdb/testsuite/gdb.base/dmsym.c
@@ -15,11 +15,11 @@
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 pck__foo__bar__minsym = 123;
+static int test_minsym = 123;
int
-get_pck__foo__bar__minsym (void)
+get_test_minsym (void)
{
- pck__foo__bar__minsym++;
- return pck__foo__bar__minsym;
+ test_minsym++;
+ return test_minsym;
}