* server.c (main): After the inferior having exited, call
remote_close before exiting gdbserver.
This commit is contained in:
parent
1b88d5c487
commit
0a59d50b2d
2 changed files with 6 additions and 0 deletions
|
@ -1959,6 +1959,7 @@ main (int argc, char *argv[])
|
|||
else
|
||||
{
|
||||
fprintf (stderr, "GDBserver exiting\n");
|
||||
remote_close ();
|
||||
exit (0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue