Hi Aaron
We are writing code in assembly language only and the code I gave in the previous post is what we used and this is where I am facing the problem.
In terms of the environment, we are using the Eclipse IDE on Windows XP SP3 with 2013R1 toolchain installed.
We found a workaround wherein if we uncheck the Set breakpoint at main option under Startup tab in Debug configuration, we don't get the error. However we need to set breakpoint manually somewhere in the main function else the whole program gets run automatically.
Hope I've given you the details you wanted. Looking forward to your reply.
Regards
Zaheer