OpenASIP
2.0
|
#include <string>
#include <iostream>
#include <boost/shared_ptr.hpp>
#include "SimulatorCmdLineOptions.hh"
#include "SimulatorFrontend.hh"
#include "FileSystem.hh"
#include "SimulatorInterpreter.hh"
#include "SimulatorCLI.hh"
#include "SimulatorToolbox.hh"
Go to the source code of this file.
Classes | |
class | SigINTHandler |
class | SigFPEHandler |
class | SigSegvHandler |
Functions | |
int | main (int argc, char *argv[]) |
Implementation of ttasim.
The command line version of the TTA Simulator / Debugger
Definition in file TTASim.cc.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Main function.
Parses the command line and figures out whether to start the interactive debugging mode or not.
argc | The command line argument count. |
argv | The command line arguments (passed to the interpreter). |
Definition at line 172 of file TTASim.cc.
References FileSystem::currentWorkingDir(), Exception::errorMessage(), FileSystem::fileExists(), FileSystem::homeDirectory(), Application::initialize(), SimulatorCLI::interpreteAndPrintResults(), SimulatorCLI::interpreter(), CmdLineParser::numberOfArguments(), options, CmdLineOptions::parse(), TclInterpreter::processScriptFile(), Application::restoreSignalHandler(), SimulatorCLI::run(), Application::setCmdLineOptions(), Application::setSignalHandler(), SIM_INIT_FILE_NAME, Texts::TextGenerator::text(), SimulatorToolbox::textGenerator(), and Texts::TXT_ILLEGAL_ARGUMENTS.