void _initialize_remote_sim (void) { init_gdbsim_ops (); add_target (&gdbsim_ops); add_com ("sim <command>", class_obscure, simulator_command, "Send a command to the simulator."); }
void _initialize_remote_sim (void) { init_gdbsim_ops (); add_target (&gdbsim_ops); add_com ("sim", class_obscure, simulator_command, _("Send a command to the simulator.")); /* Yes, 42000 is arbitrary. The only sense out of it, is that it isn't 0. */ remote_sim_ptid = ptid_build (42000, 0, 42000); }