Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/23459 )

Change subject: sim: Include some required headers in the syscall debug macros header.
......................................................................

sim: Include some required headers in the syscall debug macros header.

Everything that includes syscall_debug_macros.hh and uses the macro in
it will need these headers, so they should be included through
syscall_debug_macros.hh. The consumer shouldn't have to know what the
macros use internally and to include extra headers to support them.

Change-Id: I9bfa932368daec0772d552357ecad8790b4cfead
---
M src/sim/syscall_debug_macros.hh
1 file changed, 2 insertions(+), 0 deletions(-)



diff --git a/src/sim/syscall_debug_macros.hh b/src/sim/syscall_debug_macros.hh
index 35a0a05..84ab552 100644
--- a/src/sim/syscall_debug_macros.hh
+++ b/src/sim/syscall_debug_macros.hh
@@ -46,6 +46,8 @@
 #ifndef __SIM_SYSCALL_DEBUG_MACROS_HH__
 #define __SIM_SYSCALL_DEBUG_MACROS_HH__

+#include "cpu/base.hh"
+#include "cpu/thread_context.hh"
 #include "debug/SyscallBase.hh"
 #include "debug/SyscallVerbose.hh"


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/23459
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I9bfa932368daec0772d552357ecad8790b4cfead
Gerrit-Change-Number: 23459
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabebl...@google.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to