aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-15 19:28:59 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-15 19:28:59 +0000
commitf3df5b084eb26745b433ab9ea47e6ecff3b864ba (patch)
tree1e9de57c2ee76bf9d3f4def8aaa8c6f9f1d7df65 /gdb/frame.c
parent13f6513cd468be473c97822b4907b05bc408d69c (diff)
downloadgdb-f3df5b084eb26745b433ab9ea47e6ecff3b864ba.zip
gdb-f3df5b084eb26745b433ab9ea47e6ecff3b864ba.tar.gz
gdb-f3df5b084eb26745b433ab9ea47e6ecff3b864ba.tar.bz2
2011-03-15 Michael Snyder <msnyder@vmware.com>
* frame.c (find_frame_sal): Assert sym is not null.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index bf3ce77..1fe6256 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -1899,6 +1899,8 @@ find_frame_sal (struct frame_info *frame, struct symtab_and_line *sal)
else
sym = inline_skipped_symbol (inferior_ptid);
+ /* If frame is inline, it certainly has symbols. */
+ gdb_assert (sym);
init_sal (sal);
if (SYMBOL_LINE (sym) != 0)
{