gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 25 Jun 2010 15:34:46 +0000 (15:34 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 25 Jun 2010 15:34:46 +0000 (15:34 +0000)
commit5868a6328778ab92661f992c78ec9113b0473b12
tree7bf12dbbe4b61d8f4f0fc97a476dc0d76d781cdf
parentaf76db58d70f013feb5e5854ea8bd23929275b7b
gdb/testsuite/
Test PR python/11407.
* gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
* gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
* gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
executable_nofb and executable_fb.  New variables srcsfile, objsfile,
srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
binfile.  Call gdb_compile with clean_restart twice.
(func_nofb print, func_nofb backtrace, func_loopfb print)
(func_loopfb backtrace): New.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-main.c
gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.S
gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp