2013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
authorJose E. Marchesi <jose.marchesi@oracle.com>
Mon, 21 Oct 2013 12:42:02 +0000 (12:42 +0000)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Mon, 21 Oct 2013 12:42:02 +0000 (12:42 +0000)
commit95e4302a8f872b3f68c4cf5af774ca1bde9d2c1a
tree698f489f374c78f2f53c6bd79cf19e50823a5598
parent4c406179784990e349f3b554c93dc418e9a007a5
2013-10-21  Jose E. Marchesi  <jose.marchesi@oracle.com>

PR gdb/15986
* gdb.base/run.c (main): gdb_get_line_number tag added for
commands.exp.
(factorial): Likewise.

* gdb.base/commands.exp (watchpoint_command_test): Use
gdb_get_line_number in order to determine the locations in run.c
where local_var is detected to go out of scope.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/commands.exp
gdb/testsuite/gdb.base/run.c