diff options
author | Michael Snyder <msnyder@specifix.com> | 2011-03-15 19:28:56 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2011-03-15 19:28:56 +0000 |
commit | e5f750ae15043bf77b43f97e671d5040727b62c9 (patch) | |
tree | 2fe53418ef69be152e328439831912b452d38cff /gdb/frame.c | |
parent | 41fdb83804a11830e523ed560848cc055b4c5d24 (diff) | |
download | gdb-e5f750ae15043bf77b43f97e671d5040727b62c9.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index bf3ce77ba7e..1fe6256ff1a 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) { |