gdb: Remove unused signal mask
In the following commit:
commit 7feb7d068a
Date: Mon May 11 12:08:03 2009 +0000
The last useful uses of normal_mask in linux-nat.c were removed, since
then this variable has sat around being initialised, but never used.
There should be no user visible changes after this commit.
gdb/ChangeLog:
* linux-nat.c (normal_mask): Delete.
(_initialize_linux_nat): Don't initialise normal_mask.
This commit is contained in:
parent
c497330687
commit
bf5142e7fe
|
@ -1,3 +1,8 @@
|
||||||
|
2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
|
* linux-nat.c (normal_mask): Delete.
|
||||||
|
(_initialize_linux_nat): Don't initialise normal_mask.
|
||||||
|
|
||||||
2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
|
2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
|
||||||
|
|
||||||
PR gdb/24445
|
PR gdb/24445
|
||||||
|
|
|
@ -748,9 +748,6 @@ lwp_list_remove (struct lwp_info *lp)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Original signal mask. */
|
|
||||||
static sigset_t normal_mask;
|
|
||||||
|
|
||||||
/* Signal mask for use with sigsuspend in linux_nat_wait, initialized in
|
/* Signal mask for use with sigsuspend in linux_nat_wait, initialized in
|
||||||
_initialize_linux_nat. */
|
_initialize_linux_nat. */
|
||||||
static sigset_t suspend_mask;
|
static sigset_t suspend_mask;
|
||||||
|
@ -4684,9 +4681,6 @@ Enables printf debugging output."),
|
||||||
NULL,
|
NULL,
|
||||||
&setdebuglist, &showdebuglist);
|
&setdebuglist, &showdebuglist);
|
||||||
|
|
||||||
/* Save this mask as the default. */
|
|
||||||
sigprocmask (SIG_SETMASK, NULL, &normal_mask);
|
|
||||||
|
|
||||||
/* Install a SIGCHLD handler. */
|
/* Install a SIGCHLD handler. */
|
||||||
sigchld_action.sa_handler = sigchld_handler;
|
sigchld_action.sa_handler = sigchld_handler;
|
||||||
sigemptyset (&sigchld_action.sa_mask);
|
sigemptyset (&sigchld_action.sa_mask);
|
||||||
|
|
Loading…
Reference in New Issue