mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 22:03:57 +08:00
2011-03-15 Michael Snyder <msnyder@vmware.com>
* frame.c (find_frame_sal): Assert sym is not null.
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
2011-03-15 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* frame.c (find_frame_sal): Assert sym is not null.
|
||||
|
||||
* dbxread.c (process_one_symbol): Assert 'name' is not null.
|
||||
|
||||
* objc-lang.c (selectors_info): Check strchr for null result.
|
||||
|
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user