aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2015-07-08 11:40:35 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2015-07-08 11:40:35 -0400
commitef3f321b39c3e31fc49f034257a944d515af182a (patch)
tree2e5715e2ac8d9a6b01c21e02516f0f00d5718a07 /gdb/mi
parent0560c645c02eba2828a053039dcfdf676cdd1d00 (diff)
downloadgdb-ef3f321b39c3e31fc49f034257a944d515af182a.zip
gdb-ef3f321b39c3e31fc49f034257a944d515af182a.tar.gz
gdb-ef3f321b39c3e31fc49f034257a944d515af182a.tar.bz2
Revert "Delete program spaces directly when removing inferiors"
Reverted, since it causes a build failure. It turns out that delete_inferior_silent wasn't actually unused. This reverts commit 0560c645c02eba2828a053039dcfdf676cdd1d00.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 66bcd88..ddfc9d9 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -1964,7 +1964,7 @@ mi_cmd_remove_inferior (char *command, char **argv, int argc)
set_current_program_space (new_inferior->pspace);
}
- delete_inferior (inf);
+ delete_inferior_1 (inf, 1 /* silent */);
}