added gdb test stub
fixed simulation core