diff options
author | John Reiser <jreiser@BitWagon.com> | 2018-04-29 11:57:38 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2018-04-29 11:57:38 -0400 |
commit | cd8c76e410a5f16a170cc680be1ae2ecb5528821 (patch) | |
tree | 95a9d0533da724d2020b80c7929a1f6736070272 /gdb/arch-utils.c | |
parent | 1c831f565445d824811ae43c81b094459458eede (diff) | |
download | binutils-cd8c76e410a5f16a170cc680be1ae2ecb5528821.zip binutils-cd8c76e410a5f16a170cc680be1ae2ecb5528821.tar.gz binutils-cd8c76e410a5f16a170cc680be1ae2ecb5528821.tar.bz2 |
Fix race when building ada-lex.c
Prevent a race when building ada-lex.c, and any target of rules .c:.l or
.c:.y. The target should be written only at the last step, else SIGINT
(^C) can leave an inconsistent state. Being .PRECIOUS makes it even
worse.
gdb/ChangeLog:
PR build/22873
* gdb/Makefile.in: (.c:.l, .c:.y): Write the target only in the
last step, and do it atomically.
Diffstat (limited to 'gdb/arch-utils.c')
0 files changed, 0 insertions, 0 deletions