Add testcase for locals identified with FUNCTION::VAR syntax.
authorPaul N. Hilfinger <hilfinger@adacore.com>
Wed, 11 Jan 2012 10:35:12 +0000 (10:35 +0000)
committerPaul N. Hilfinger <hilfinger@adacore.com>
Wed, 11 Jan 2012 10:35:12 +0000 (10:35 +0000)
commitea7335759531113c855fab30d191462b44a08dd8
tree725301e4ddee8043f9c4f1a221ba2547ce89f682
parent72384ba31a5433c15d67313b339556239bf0c316
Add testcase for locals identified with FUNCTION::VAR syntax.

This test stops inside a recursive function after a few levels of recursion,
goes up some frames, and then accesses a local variable with 'print foo::val'
rather than the usual 'print val' to see if the former pays attention to the
selected frame.

2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
         Joel Brobecker <brobecker@adacore.com>

* gdb.base/recpar.c, gdb.base/recpar.exp: New files.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/recpar.c [new file with mode: 0644]
gdb/testsuite/gdb.base/recpar.exp [new file with mode: 0644]