As can be seen here [1], Eclipse in DTS 2.1 will be able to correctly display exit code of debugged process. This functionality is limited by minimal required version of gdb - 7.3 and higher - and this is not fulfilled even by gdb shipped with RHEL 6.5 (7.2-60). Therefore this functionality is not available when only devtoolset-2-ide metapackage is installed and user uses RHEL toolchain (e.g. "only Eclipse and nothing else" usage scenario). Since [1] is part of Eclipse erratum, I belive this could/should be noted. [1] https://bugzilla.redhat.com/show_bug.cgi?id=910376
Thank you very much for taking the time to report this issue, Milos.