From: Pedro Alves Date: Tue, 31 Mar 2009 22:46:36 +0000 (+0000) Subject: * server.c (main): After the inferior having exited, call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a59d50b2d100f6c9211d1e4e5cf173c910af09d;p=binutils-gdb.git * server.c (main): After the inferior having exited, call remote_close before exiting gdbserver. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 68ad1a54a9d..eb7d0c7ef6a 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2009-03-31 Pedro Alves + + * server.c (main): After the inferior having exited, call + remote_close before exiting gdbserver. + 2009-03-25 Thiago Jung Bauermann Fix size of FPSCR in Power 7 processors. diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 21fbc37fea2..aef6be763ff 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); } }