diff options
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/server.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 68ad1a5..eb7d0c7 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2009-03-31 Pedro Alves <pedro@codesourcery.com> + + * server.c (main): After the inferior having exited, call + remote_close before exiting gdbserver. + 2009-03-25 Thiago Jung Bauermann <bauerman@br.ibm.com> Fix size of FPSCR in Power 7 processors. diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 21fbc37..aef6be7 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -1959,6 +1959,7 @@ main (int argc, char *argv[]) else { fprintf (stderr, "GDBserver exiting\n"); + remote_close (); exit (0); } } |