2010-05-14 Michael Snyder <msnyder@vmware.com>

* infcall.c: White space.
	* inf-child.c: White space.
	* infcmd.c: White space.
	* inferior.c: White space.
	* inf-loop.c: White space.
	* inflow.c: White space.
	* inline-frame.c: White space.
	* interps.c: White space.
This commit is contained in:
Michael Snyder 2010-05-14 21:25:51 +00:00
parent d8734c886e
commit abbb1732a9
10 changed files with 84 additions and 2 deletions

View file

@ -68,6 +68,7 @@ static void
restore_inferior (void *arg)
{
struct inferior *saved_inferior = arg;
set_current_inferior (saved_inferior);
}
@ -80,6 +81,7 @@ save_current_inferior (void)
{
struct cleanup *old_chain = make_cleanup (restore_inferior,
current_inferior_);
return old_chain;
}
@ -283,6 +285,7 @@ void
exit_inferior (int pid)
{
struct inferior *inf = find_inferior_pid (pid);
exit_inferior_1 (inf, 0);
if (print_inferior_events)
@ -293,6 +296,7 @@ void
exit_inferior_silent (int pid)
{
struct inferior *inf = find_inferior_pid (pid);
exit_inferior_1 (inf, 1);
}
@ -308,6 +312,7 @@ void
detach_inferior (int pid)
{
struct inferior *inf = find_inferior_pid (pid);
exit_inferior_1 (inf, 1);
if (print_inferior_events)