Commit Graph

19 Commits

Author SHA1 Message Date
Mike Frysinger ef3e8cf7d1 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>
2014-02-17 18:32:45 -05:00
Joel Brobecker ecd75fc8ee Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
Anthony Green 9c9e1b263d Remove debug output 2013-01-17 09:44:53 +00:00
Joel Brobecker 8acc9f485b Update years in copyright notice for the GDB files.
Two modifications:
  1. The addition of 2013 to the copyright year range for every file;
  2. The use of a single year range, instead of potentially multiple
     year ranges, as approved by the FSF.
2013-01-01 06:41:43 +00:00
Anthony Green 78ca4e81ff Adjust for branch target encoding change 2012-09-08 01:26:07 +00:00
Mike Frysinger a6c2b87eec sim: moxie: fix build by including config.h first 2012-06-17 23:33:42 +00:00
Joel Brobecker c5a5708100 Copyright year update in most files of the GDB Project.
gdb/ChangeLog:

        Copyright year update in most files of the GDB Project.
2012-01-04 08:28:28 +00:00
Joel Brobecker 7b6bb8daac run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
Mike Frysinger 5558e7e691 sim: constify sim_write source buffer (part 2)
As pointed out by Sandra Loosemore, a bunch of targets define sim_write
themselves instead of using the common/ code.  So constify them too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-04-14 07:38:06 +00:00
Jan Kratochvil bc56c8fa67 sim/moxie/
* interp.c (sim_create_inferior): Fix crashes on zero PROG_BFD or ARGV.
2010-02-27 01:24:37 +00:00
Anthony Green 32d49b7b49 Fix nop insn for moxie 2010-02-03 10:28:19 +00:00
Anthony Green 11db68fd8d Add period to sentence in comment. 2010-01-13 14:08:36 +00:00
Anthony Green b8dcd18250 Initialize SIM_DESC properly. 2010-01-13 08:28:26 +00:00
Joel Brobecker dc3cf14f35 Update copyright notices to add year 2010. 2010-01-01 10:03:36 +00:00
Anthony Green 5c27d164d8 Use common memory infrastructure and introduce device tree support 2009-09-10 21:57:03 +00:00
Anthony Green 7a321525ff Increase simulated memory size. Support new system call ABI. Support exception processing for Linux system calls. 2009-07-31 11:40:16 +00:00
Anthony Green 8656620041 Add PC-relative branch support to moxie sim. 2009-06-11 11:36:14 +00:00
Anthony Green 77176dfc67 Add missing break statemenets. 2009-05-10 13:25:57 +00:00
Anthony Green fdd6fa6167 Add moxie simulator 2009-05-01 03:03:41 +00:00