You can instruct XL C/C++ to include debugging information in your compiled objects. The debugging information can be examined by gdb or any other symbolic debugger to help you debug your programs.