systemc: Add a warning to sc_interface::default_event.
authorGabe Black <gabeblack@google.com>
Sat, 22 Sep 2018 13:50:27 +0000 (06:50 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:29:55 +0000 (00:29 +0000)
commit6ab054bf2fde015b1bab9c20b8ca3faf9717a069
tree81e011898b77e5cead3abd8ff20fa14349c1b7e3
parent18c83f2333e6142c16ffb074ce037c59bf7a5416
systemc: Add a warning to sc_interface::default_event.

The default implementation returns a dummy event, but in the Accellera
implementation it also prints a warning. Print a warning as well, so
that the output matches for the tests.

Change-Id: I1ae2755685515c3fe538f4075af396e963cf155d
Reviewed-on: https://gem5-review.googlesource.com/c/12970
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/sc_interface.cc