* go32-nat.c (go32_create_inferior): Use inferior_appeared, not

inferior_appeared_silent.
	* remote-sim.c (gdbsim_create_inferior): Ditto.
This commit is contained in:
Pedro Alves 2009-10-20 16:34:00 +00:00
parent 40625c9de3
commit 20176d8fbf
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-10-20 Ken Werner <ken@linux.vnet.ibm.com>
* go32-nat.c (go32_create_inferior): Use inferior_appeared, not
inferior_appeared_silent.
* remote-sim.c (gdbsim_create_inferior): Ditto.
2009-10-20 Pedro Alves <pedro@codesourcery.com>
* darwin-nat.c (cancel_breakpoint): Pass the regcache's address

View File

@ -716,7 +716,7 @@ go32_create_inferior (struct target_ops *ops, char *exec_file,
inferior_ptid = pid_to_ptid (SOME_PID);
inf = current_inferior ();
inferior_appeared_silent (inf, SOME_PID);
inferior_appeared (inf, SOME_PID);
push_target (&go32_ops);

View File

@ -471,7 +471,7 @@ gdbsim_create_inferior (struct target_ops *target, char *exec_file, char *args,
sim_create_inferior (gdbsim_desc, exec_bfd, argv, env);
inferior_ptid = remote_sim_ptid;
inferior_appeared_silent (current_inferior (), ptid_get_pid (inferior_ptid));
inferior_appeared (current_inferior (), ptid_get_pid (inferior_ptid));
add_thread_silent (inferior_ptid);
insert_breakpoints (); /* Needed to get correct instruction in cache */