From 0a59d50b2d100f6c9211d1e4e5cf173c910af09d Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 31 Mar 2009 22:46:36 +0000 Subject: [PATCH] * server.c (main): After the inferior having exited, call remote_close before exiting gdbserver. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/server.c | 1 + 2 files changed, 6 insertions(+) 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); } } -- 2.30.2