summaryrefslogtreecommitdiff
path: root/gdb/dwarf2-frame.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-11-26 07:47:56 -0700
committerTom Tromey <tromey@redhat.com>2013-11-26 07:47:56 -0700
commit158599681f7c57e4d233a3e14c2e01faeaae55aa (patch)
tree179f0a08fb0c36f1de97b6e1457fd861c2f27dc1 /gdb/dwarf2-frame.c
parent244ec0da3816472b6e2c3347dae8b2d308d90f93 (diff)
revert patch from 2013-11-22
This reverts da2b2fdf57a96f7a5b6b153e94afb747e212b17f and some follow-up patches. They were incorrect. 2013-11-26 Tom Tromey <tromey@redhat.com> * dwarf2-frame.c (dwarf2_frame_cache): Revert patch from 2013-11-22. 2013-11-26 Tom Tromey <tromey@redhat.com> * gdb.dwarf2/dw2-unspecified-ret-addr.S: Remove. * gdb.dwarf2/dw2-unspecified-ret-addr.c: Remove. * gdb.dwarf2/dw2-unspecified-ret-addr.exp: Remove.
Diffstat (limited to 'gdb/dwarf2-frame.c')
-rw-r--r--gdb/dwarf2-frame.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c
index f185ca6e8c..c4f87715c1 100644
--- a/gdb/dwarf2-frame.c
+++ b/gdb/dwarf2-frame.c
@@ -1245,10 +1245,6 @@ incomplete CFI data; unspecified registers (e.g., %s) at %s"),
if (fs->retaddr_column < fs->regs.num_regs
&& fs->regs.reg[fs->retaddr_column].how == DWARF2_FRAME_REG_UNDEFINED)
cache->undefined_retaddr = 1;
- else if (fs->retaddr_column >= fs->regs.num_regs
- || (fs->regs.reg[fs->retaddr_column].how
- == DWARF2_FRAME_REG_UNSPECIFIED))
- cache->undefined_retaddr = 1;
do_cleanups (old_chain);
discard_cleanups (reset_cache_cleanup);