This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug sim/16450] New: sims unnecessarily set SIGINT handler
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 14 Jan 2014 18:13:55 +0000
- Subject: [Bug sim/16450] New: sims unnecessarily set SIGINT handler
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16450
Bug ID: 16450
Summary: sims unnecessarily set SIGINT handler
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: sim
Assignee: unassigned at sourceware dot org
Reporter: tromey at redhat dot com
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.
--
You are receiving this mail because:
You are on the CC list for the bug.