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: [patch] Fix for varobj.c assertions.


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

I've looked at your new testcase in GNATS (I've only just seen how to get
cc'ed).  It doesn't fail for me, even with the script file, which surprised
me because I didn't think MI commands would work in a script.

I use:

gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Ubuntu 7.04 (2.6.20-15-generic)

 > ---
 > Aleksandar Ristovski
 > QNX Software Systems
 > 
 > 
 > 2008-01-10  Aleksandar Ristovski  <aristovski@qnx.com>
 > 
 > 	* varobj (adjust_value_for_child_access): Added checking for 
 > 	returned value from gdb_value_ind.
 > 	(c_describe_child): Likewise.
 > 	(cplus_describe_child): Fixed a typo.
 > 

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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