Base CPU: Initialize profileEvent to NULL
authorJoel Hestness <hestness@cs.wisc.edu>
Thu, 13 Sep 2012 02:40:28 +0000 (21:40 -0500)
committerJoel Hestness <hestness@cs.wisc.edu>
Thu, 13 Sep 2012 02:40:28 +0000 (21:40 -0500)
commit16dcb723c11afb91cc3428294bd3106425114949
treee550ef18c07430b4a828535d76ea469ca9200f26
parentaa8bcd15ec1ba916f3e750f41697a65e06b3c2ac
Base CPU: Initialize profileEvent to NULL
The profileEvent pointer is tested against NULL in various places, but
it is not initialized unless running in full-system mode. In SE mode, this
can result in segmentation faults when profileEvent default intializes to
something other than NULL.
src/cpu/base.cc