This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] [patchv3] Fix SIGTERM signal safety (PR gdb/15358)


On Mon, 17 Mar 2014 23:35:21 +0100, Doug Evans wrote:
> On Sun, Mar 16, 2014 at 6:53 AM, Jan Kratochvil
> <jan.kratochvil@redhat.com> wrote:
> > gdb/
> > 2014-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
> >
> >         PR gdb/15358
> >         * defs.h (sync_quit_force_run): New declaration.
> >         (QUIT): Check also SYNC_QUIT_FORCE_RUN.
> >         * event-top.c (async_sigterm_handler): New declaration.
> >         (async_sigterm_token): New variable.
> >         (async_init_signals): Create also async_sigterm_token.
> >         (async_sigterm_handler): New function.
> >         (sync_quit_force_run): New variable.
> >         (handle_sigterm): Replace quit_force call by other calls.
> >         * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
> >
> > gdb/testsuite/
> > 2014-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
> >
> >         PR gdb/15358
> >         * gdb.base/gdb-sigterm.c: New file.
> >         * gdb.base/gdb-sigterm.exp: New file.
> 
> Fine by me.

Checked in:
	06c868a8dc5ef46ab7dd6601c8bc2f417e415af9


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]