[RFA] frame.c (find_frame_sal): Check return value of get_frame_function.
Michael Snyder
msnyder@vmware.com
Tue Mar 15 19:26:00 GMT 2011
Pedro Alves wrote:
> On Tuesday 15 March 2011 17:38:05, Joel Brobecker wrote:
>>> It would normally, but in this case, we've just found that
>>> the next frame is an inlined function call. Then it
>>> certainly has debug info? Otherwise, how would gdb know
>>> it's an inlined function call?
>> Indeed, I think you're right. inline_skipped_symbol shouldn't
>> be returning a NULL symbol, as far as I can tell. So should
>> we just add a gdb_assert with a comment explaining why we
>> expect sym to be non-NULL?
>
> I think so.
>
How's this?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: null17b.txt
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110315/2e676c4b/attachment.txt>
More information about the Gdb-patches
mailing list