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] Try2: -var-evaluate-expression [-f FORMAT] NAME


> > >         * varobj.h (varobj_get_formatted_value): Declare.
> > >         * varobj.c (my_value_of_variable): Added format parameter.
> > >         (cplus_value_of_variable): Likewise.
> > >         (java_value_of_variable): Likewise.
> > >         (*(value_of_variable)): Likewise.
> > 
> > Is '*(value_of_variable)' really a name of a function? :-)
> 
> It is, actually -- but not in varobj.c.  Thanks for raising this.
> Marc, we prefer not to have identifiers or file names abbreviated
> in changelogs.

I created some confusion here.
(*(value_of_variable)) is a function pointer, that is a member of the
'language_specific' struct.  I added a parameter to that function pointer,
but I guess it need not be in the Changelog since it is just a pointer to
other functions I changed.  I'll remove from the Changelog.


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