[patch] stack.c, check return value of lookup_symbol

msnyder@sonic.net msnyder@sonic.net
Thu Jul 5 23:06:00 GMT 2007


Since it's known that lookup_symbol can return NULL, my first impulse
was to call gdb_assert.  That still might be the right thing to do,
since it indicates some sort of internal fault -- but it seems to
me that it isn't necessarily fatal, and simply doing nothing is an option...

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nsym2.txt
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070705/da86446d/attachment.txt>


More information about the Gdb-patches mailing list