Run dw2-var-zero-addr.exp with --readnow
authorYao Qi <yao@codesourcery.com>
Mon, 18 Aug 2014 01:57:40 +0000 (09:57 +0800)
committerYao Qi <yao@codesourcery.com>
Fri, 19 Sep 2014 08:53:34 +0000 (16:53 +0800)
commit00ba3162ed1633f9b27f3fdd450e076d3a3f2e90
treefd08cd134136d881154074639452a26a19b23805
parentc3b7b696c231416ac90fd9cb7d5ce735b3683356
Run dw2-var-zero-addr.exp with --readnow

This patch is to extend dw2-var-zero-add.exp to cover the case that
partial symtabl is not used while full symtab is used, in order to
cover the changes in patch 2/3.  This patch restarts GDB with
--readnow and does the same test again.

gdb/testsuite:

2014-09-19  Yao Qi  <yao@codesourcery.com>

* gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
Invoke test.  Restart GDB with --readnow and invoke test again.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.exp