summaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index cf4e844f16f..ffa283e48bd 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -151,7 +151,7 @@ exec_close (int quitting)
{
/* We don't free objfiles because other code does it. */
if (ex->inferior)
- delete_inferior (ex->inferior->pid);
+ delete_inferior_id (ex->inferior->num);
}
#if 0
VEC_block_remove (exec_p, execs, 0, VEC_length (exec_p, execs));