This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 06c868a8dc5ef46ab7dd6601c8bc2f417e415af9
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 18 Mar 2014 21:50:51 -0000
- Subject: gdb and binutils branch master updated. 06c868a8dc5ef46ab7dd6601c8bc2f417e415af9
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 06c868a8dc5ef46ab7dd6601c8bc2f417e415af9 (commit)
from dea80df0999ae0bad56e79af2a88a30be38bb8e4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=06c868a8dc5ef46ab7dd6601c8bc2f417e415af9
commit 06c868a8dc5ef46ab7dd6601c8bc2f417e415af9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Tue Mar 18 22:48:06 2014 +0100
Fix SIGTERM signal safety (PR gdb/15358).
gdb/
2014-03-18 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-18 Jan Kratochvil <jan.kratochvil@redhat.com>
PR gdb/15358
* gdb.base/gdb-sigterm.c: New file.
* gdb.base/gdb-sigterm.exp: New file.
Message-ID: <20140316135334.GA30698@host2.jankratochvil.net>
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 13 ++++
gdb/defs.h | 5 +-
gdb/event-top.c | 27 ++++++++-
gdb/testsuite/ChangeLog | 6 ++
gdb/testsuite/gdb.base/gdb-sigterm.c | 26 +++++++++
gdb/testsuite/gdb.base/gdb-sigterm.exp | 96 ++++++++++++++++++++++++++++++++
gdb/utils.c | 6 ++
7 files changed, 176 insertions(+), 3 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/gdb-sigterm.c
create mode 100644 gdb/testsuite/gdb.base/gdb-sigterm.exp
hooks/post-receive
--
gdb and binutils