aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-03-31 22:46:36 +0000
committerPedro Alves <palves@redhat.com>2009-03-31 22:46:36 +0000
commit0a59d50b2d100f6c9211d1e4e5cf173c910af09d (patch)
treed452fba2ff4259e7116d9467ce9e56ffaa8b318c /gdb/gdbserver
parent1b88d5c487d0f28d15eb9d61dc752cfb1b609125 (diff)
downloadgdb-0a59d50b2d100f6c9211d1e4e5cf173c910af09d.zip
gdb-0a59d50b2d100f6c9211d1e4e5cf173c910af09d.tar.gz
gdb-0a59d50b2d100f6c9211d1e4e5cf173c910af09d.tar.bz2
* server.c (main): After the inferior having exited, call
remote_close before exiting gdbserver.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/server.c1
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);
}
}