This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] frame.c (find_frame_sal): Check return value of get_frame_function.


> 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?

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]