When I try to launch GDB from within an XPS project (i.e., Debug -> Launch Software Debugger), it fails to launch the GNU debugger.
This problem occurs for PowerPC projects when GDB is launched from XPS, and XPS is launched from ISE. The following error message occurs:
"Tk_Init failed: Can't find a usable tk.tcl in the following directories:"
This issue occurs because ISE sets the environment variable: TCL_LIBRARY. You can resolve this issue by opening XPS standalone and launching GDB. Also check that the TCL_LIBRARY or TK_LIBRARY environment variables are not set from another third-party tool.
ISE no longer sets the TCL_LIBRARY environment variable in the latest 10.1 Service Pack available at:
The first service pack containing the fix is 10.1 Service Pack 2.