2011-03-15 Michael Snyder <msnyder@vmware.com>

* frame.c (find_frame_sal): Assert sym is not null.
This commit is contained in:
Michael Snyder
2011-03-15 19:28:59 +00:00
parent 13f6513cd4
commit f3df5b084e
2 changed files with 4 additions and 0 deletions

View File

@ -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)
{