]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/sh/ChangeLog
sim: delete duplicate SIGINT handling
authorMike Frysinger <vapier@gentoo.org>
Mon, 17 Feb 2014 23:24:10 +0000 (18:24 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 17 Feb 2014 23:32:45 +0000 (18:32 -0500)
commitef3e8cf7d1d7849c2fb466bdc62b56336739cb90
tree8ca232b2ef7a43e5ede0f81f6e8f5f9475ff7dbd
parentc395f86f51b18695c1b151ed92e41d7b596b0d12
sim: delete duplicate SIGINT handling

Many of the simulators change the SIGINT handler.
E.g., moxie/interp.c:

  sigsave = signal (SIGINT, interrupt);

However, this is unnecessary.
remote-sim.h already provides an API for asynchronously stopping
a sim; and both gdb and the drivers (run.c and nrun.c at least,
I didn't check the others) install a SIGINT handler which
calls this method.

URL: https://sourceware.org/bugzilla/show_bug.cgi?id=16450
Reported-by: Tom Tromey <tromey@redhat.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/h8300/ChangeLog
sim/h8300/compile.c
sim/mcore/ChangeLog
sim/mcore/interp.c
sim/microblaze/ChangeLog
sim/microblaze/interp.c
sim/moxie/ChangeLog
sim/moxie/interp.c
sim/sh/ChangeLog
sim/sh/interp.c