Re: [GXemul-users] gxemul 6.0.1 config file is not recognized
Status: Alpha
Brought to you by:
gavare
From: Anders G. <ga...@gm...> - 2015-03-12 19:15:12
|
Tor 2015-03-12 klockan 12:06 +0530 skrev guns: > I am trying to start gxemul via config file and getting below error. > I am trying as per the documentation. But not able to get it work. > Please help me to resolve this error. > > > $ gxemul @pmaxcfg > GXemul 0.6.0.1 Copyright (C) 2003-2014 Anders Gavare > > > The specified file to load (@pmaxcfg) is not a configuration tree. If > it is a binary to load, you need to specify a component path where to > load the binary. Hi Guna, Sorry, this is due to the hack which allows both the new framework and the old framework to more-or-less work from the same command line parsing. If you edit gxemul/src/old_main/main.cc and change if (type == NULL && subtype == NULL && (single_step == ENTER_SINGLE_STEPPING || argc > 0)) { in the get_cmd_args function to if (type == NULL && subtype == NULL && (single_step == ENTER_SINGLE_STEPPING || (argc > 0 && argv[0][0] != '@'))) { it may work better. Anders |