This is the mail archive of the gdb-patches@sources.redhat.com 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: [ob] Remove initializations of memset'd structure


Eli Zaretskii writes:
 > > Date: Mon, 16 Feb 2004 16:15:16 -0500
 > > From: Daniel Jacobowitz <drow@false.org>
 > >  
 > > -    MSYMBOL_TYPE (m) = mst_unknown;
 > 
 > This part of the patch seems to assume that mst_unknown has the value
 > zero.  Should we have such assumptions in the code?

Yes, in symtab.h mst_unknown is 0. However, that got me puzzled as
well, and I think it warrants a comment. Daniel, please add something
in the function you touched.

elena


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