binutils-gdb/sim
Tom Tromey 7a8cc0983a Use correct type for saved signal handler
A user noticed that the sim assigns the result of a call to 'signal'
to a variable like:

  RETSIGTYPE (*prev_sigint) ();

However, it's more correct to use (int) here.

This patch fixes the error.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32466
Approved-By: Andrew Burgess <aburgess@redhat.com>
2024-12-16 13:16:04 -07:00
..
aarch64
arm
avr
bfin
bpf
common Use correct type for saved signal handler 2024-12-16 13:16:04 -07:00
cr16
cris
d10v [sim] Run spellcheck.sh in sim (part 2) 2024-11-23 13:07:38 +01:00
erc32 [sim] Run spellcheck.sh in sim (part 2) 2024-11-23 13:07:38 +01:00
example-synacor
frv
ft32
h8300
igen
iq2000
lm32
m4
m32c
m32r
m68hc11
mcore
microblaze
mips
mn10300
moxie
msp430
or1k
ppc Use correct type for saved signal handler 2024-12-16 13:16:04 -07:00
pru
riscv
rl78
rx
sh
testsuite [sim] Run spellcheck.sh in sim (part 2) 2024-11-23 13:07:38 +01:00
v850
.gitignore
aclocal.m4
ChangeLog-2021
config.h.in
configure
configure.ac
COPYING
gdbinit.in
MAINTAINERS
Makefile.am
Makefile.in
README-HACKING