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: [commit] Yet another get_frame_arch (NULL) call


> we found another case where get_frame_arch (NULL) was called:

Is there a way we can help you track these calls down? Or are
we supposed to have them all tracked down by now? I'm just wondering
if the addition of a warning or, more strongly, an assert might
help avoiding re-introducing this issue.

BTW: Perhaps we should document more explicitly the fact that this
routine should be given a non-null frame?  The current implementation
is such that a NULL frame doesn't really matter, but otherwise,
I fear that we'll undo part of what you're doing now.

-- 
Joel


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