gem5/src/python
Steve Reinhardt 28a0e5a165 sim: don't ignore SIG_TRAP
By ignoring SIG_TRAP, using --debug-break <N> when not connected to
a debugger becomes a no-op.  Apparently this was intended to be a
feature, though the rationale is not clear.

If we don't ignore SIG_TRAP, then using --debug-break <N> when not
connected to a debugger causes the simulation process to terminate
at tick N.  This is occasionally useful, e.g., if you just want to
collect a trace for a specific window of execution then you can combine
this with --debug-start to do exactly that.

In addition to not ignoring the signal, this patch also updates
the --debug-break help message and deletes a handful of unprotected
calls to Debug::breakpoint() that relied on the prior behavior.
2016-01-17 18:27:46 -08:00
..
m5 sim: don't ignore SIG_TRAP 2016-01-17 18:27:46 -08:00
swig dev: Move network devices to src/dev/net/ 2015-12-10 10:35:18 +00:00
importer.py base: Make the Python module loader PEP302 compliant 2013-06-03 13:51:03 +02:00
SConscript config: Add a --without-python option to build process 2014-10-16 05:49:32 -04:00