* inferior.c (prune_inferiors): Fix comment.

(remove_inferior_command): Call prune_program_spaces.
This commit is contained in:
Doug Evans 2014-05-17 11:59:34 -07:00
parent 77f730a2f5
commit bed8455c71
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-05-17 Doug Evans <xdje42@gmail.com>
* inferior.c (prune_inferiors): Fix comment.
(remove_inferior_command): Call prune_program_spaces.
2014-05-16 Doug Evans <dje@google.com>
New command line option -D.

View File

@ -475,8 +475,8 @@ have_live_inferiors (void)
return inf != NULL;
}
/* Prune away automatically added program spaces that aren't required
anymore. */
/* Prune away any unused inferiors, and then prune away no longer used
program spaces. */
void
prune_inferiors (void)
@ -788,6 +788,8 @@ remove_inferior_command (char *args, int from_tty)
delete_inferior_1 (inf, 1);
}
prune_program_spaces ();
}
struct inferior *