Enhanced nexec to send commands of a string.
Added the entry for gdb.