* inferior.c (prune_inferiors): Fix comment.
(remove_inferior_command): Call prune_program_spaces.
This commit is contained in:
parent
77f730a2f5
commit
bed8455c71
|
@ -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>
|
2014-05-16 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
New command line option -D.
|
New command line option -D.
|
||||||
|
|
|
@ -475,8 +475,8 @@ have_live_inferiors (void)
|
||||||
return inf != NULL;
|
return inf != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prune away automatically added program spaces that aren't required
|
/* Prune away any unused inferiors, and then prune away no longer used
|
||||||
anymore. */
|
program spaces. */
|
||||||
|
|
||||||
void
|
void
|
||||||
prune_inferiors (void)
|
prune_inferiors (void)
|
||||||
|
@ -788,6 +788,8 @@ remove_inferior_command (char *args, int from_tty)
|
||||||
|
|
||||||
delete_inferior_1 (inf, 1);
|
delete_inferior_1 (inf, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prune_program_spaces ();
|
||||||
}
|
}
|
||||||
|
|
||||||
struct inferior *
|
struct inferior *
|
||||||
|
|
Loading…
Reference in New Issue