This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos 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] |
Then how does all the packages get stored in package_names (type:std::vector<std::string>) defined in cdl.hxx file.
Regards, Puneet
On Mon, Jul 02, 2007 at 10:46:23AM -0600, Puneet Maheshwari wrote: > Hi, > > When we open the administration from the tools menu, it retrieves all > the packages from the ecos.db file. I am trying to find the function > which reads this file. > > After lot of debugging I found the following function in interp.cxx file. > int result = Tcl_EvalFile(tcl_interp, CDL_TCL_CONST_CAST(char*, > script.c_str())); > > Can anyone highlight me as to which function reads through the ecos.db > file.
I could be wrong here, Bart is the expert....
the ecos.db is actually a piece of tcl! So it is not read, it is executed by the tcl interpreter.
Andrew
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |