[patch] Fix for varobj.c assertions.

Aleksandar Ristovski ARistovski@qnx.com
Thu Jan 10 22:05:00 GMT 2008


When listing children of a variable, if variable was not initialized we will
ignore return value from gdb_value_ind.

This patch fixes this situation. Fixes at least one problem from PR 2309.


---
Aleksandar Ristovski
QNX Software Systems


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ChangeLog.txt
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080110/1e78f5dd/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: varobj.c.patch
Type: application/octet-stream
Size: 1355 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080110/1e78f5dd/attachment.obj>


More information about the Gdb-patches mailing list