This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Reading of ecos.db file
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Puneet Maheshwari <puneetrocks at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 2 Jul 2007 18:48:26 +0200
- Subject: Re: [ECOS] Reading of ecos.db file
- References: <588212940707020946s36a8630u21e44cdf1fd8b178@mail.gmail.com>
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