How to debug a multicore program using XGDB