gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 9 Oct 2011 19:29:11 +0000 (19:29 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 9 Oct 2011 19:29:11 +0000 (19:29 +0000)
commit2d6c5dc2c7f35f46bdbcee6ea442a97ae880db4b
treeb2564d2dc726b474ab05bf82be51fe330cf227f4
parent111c64899c7b1811c3a04c711f4a0dc95776eecc
gdb/
Protect entry values against self tail calls.
* dwarf2loc.c (VEC (CORE_ADDR), func_verify_no_selftailcall): New.
(dwarf_expr_dwarf_reg_entry_value): Call func_verify_no_selftailcall.

gdb/testsuite/
Protect entry values against self tail calls.
* gdb.arch/amd64-entry-value.cc (self2, self): New.
(main): Call self.
* gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
(set debug entry-values 1, self: bt debug entry-values): New tests.
gdb/ChangeLog
gdb/dwarf2loc.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/amd64-entry-value.cc
gdb/testsuite/gdb.arch/amd64-entry-value.exp