9000687710 Replace Putty with Eclipse plugin

To provides an Eclipse terminal plugin for the ARC debugger to emulate a
terminal for UART application, we need to launch terminal view inside
debugger plugin.

I also add the tested eclipse terminal source codes into this branch, for
we may need to customize it.

Delete putty and add terminal label/combo box

I commented out the previous putty codes, and add terminal labels/combo
boxes on debugerTab gui,But it is just for layout arrangement, will add
parameter reference amongst gui and terminal view later.

I also change previous method for checking com port, so we don't limit to use
window's platform registry, which may helpful for making debugger work on
linux platform.
Launch debugger plugin on Linux

After delete putty related souce codes and change the method of reading
COM port, now we can lauch debugger plugin on Linux OS

RXTX installation is needed. Terminal installation is needed.

I also add some codes for finding OS platform.

nSIM&Debugger plugin  works on Linux and Windows

The default location on windows is: C:\ARC\nSIM_64
The default location on Linux is /opt/ARC/nSIM_64/

Add Openocd suppoert on Linux

1: Now we only can get uart output in Linux version PuTTY.
2: Run as also works on Linux (Openocd as default gdbserver)
3: Need sudo chmod o+rw /dev/ttyUSB* before launch OpenOCD
4: Need to netstat -antp | grep 4444 to check if Openocd is running
Change jar files dependencies and fix jface problem

Now to make debugger works on linux, we must do the following steps before
install our plugin into eclipse
1. Install RXTX by using "http://rxtx.qbang.org/eclipse/"
2. Install Target Management Terminal  by
using"http://download.eclipse.org/releases/kepler" on Linux or by using
"http://download.eclipse.org/releases/kepler/201306260900" on windows,then Select: Mobile and Device Development, especially Target Management Terminal which is "An ANSI (vt102) compatible Terminal including plug-ins for Serial, SSH and Telnet connections."Select: Mobile and Device Development, especially Target Management Terminal which is "An ANSI (vt102) compatible Terminal including plug-ins for Serial, SSH and Telnet connections."
3. change plugins dependencies
Change nSIM start code

Use NSIM_HOME to initialize path to nSIM, refactor code for starting up nSIM.

Move nSIM initialization to Launch
Hide Com port related buttons when launching nSIM

Move those buttons to bottom.
Unifying gdbservers in gui
Make gdbserver localhost/IPAddress work
Move Ashling initialization to Launch
Set TCP port on each change of target GDB server

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Clean up the commented code

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Add terminal support and change port and IP value

1: Add changes from anton-terminal-control-example
2: Save IP and port pre-configuration valus
3: Change external tools path and port when changing gdbserver, not
changing IP
Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Save COM serial port values for different projects

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
9000720978 Add C++ Hello/EM4/EM6 empty template projects

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
9000718982 Support HS in ARC GNU IDE ELF32 plugin

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Include RxTx into distribution

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
Use qualifier in plugin version

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
Add .gitignore to build

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
Fix Elf32 plug-in CLI build

Elf32 plug-in wasn't working properly, when compiled from command-line, but
worked nicely, when done from the usual Eclipse interface. This patch resolves
this, by adding required classpath.

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>