Use exceptions and cleanups in gdbserver
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 89cafa69a250c6079fc4f3c16b5372b267758b45..caa243da5d7d489a0dc827e970c2007dd994e9ea 100644 (file)
@@ -1,3 +1,16 @@
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * server.h (setjmp.h): Do not include.
+       (toplevel): Do not declare.
+       (common-exceptions.h): Include.
+       (cleanups.h): Likewise.
+       * server.c (toplevel): Do not define.
+       (exit_code): New static global.
+       (detach_or_kill_for_exit_cleanup): New function.
+       (main): New function.  Original main renamed to...
+       (captured_main): New function.
+       * utils.c (verror) [!IN_PROCESS_AGENT]: Use throw_verror.
+
 2014-08-29  Gary Benson  <gbenson@redhat.com>
 
        * Makefile.in (SFILES): Add common/common-exceptions.c.
This page took 0.032503 seconds and 4 git commands to generate.