base: Replace a "panic" in cprintf with an M5_UNREACHABLE.
authorGabe Black <gabe.black@gmail.com>
Thu, 4 Feb 2021 06:33:30 +0000 (22:33 -0800)
committerGabe Black <gabe.black@gmail.com>
Fri, 5 Feb 2021 08:36:14 +0000 (08:36 +0000)
commit877d63b3d2b57ab6c66bfaf49304cde5f800c2ce
tree8cf5d66dc853d4b145c5bc6e7ce2139451bb3000
parenta116ff6bc7897ee53147676ac7d010c7d63aa3df
base: Replace a "panic" in cprintf with an M5_UNREACHABLE.

The panic was just to signal that a point in the code should be
unreachable, and brought with it a thread of dependencies which would
bring in more and more extra files as it was followed.

Change-Id: I46fb99b91929dca78a6547bdc7635aab9a63a9f3
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40615
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
src/base/cprintf.cc