Expose debugBreakCycle through swig and get rid of
the Debug param context --HG-- extra : convert_revision : 40e9dcfa9faedbe0c90a43f908f20a7c14ded6a4
This commit is contained in:
19
src/python/swig/debug.i
Normal file
19
src/python/swig/debug.i
Normal file
@@ -0,0 +1,19 @@
|
||||
%module debug
|
||||
|
||||
%{
|
||||
// include these files when compiling debug_wrap.cc
|
||||
#include "sim/host.hh"
|
||||
%}
|
||||
|
||||
%include "stdint.i"
|
||||
%include "sim/host.hh"
|
||||
|
||||
%inline %{
|
||||
extern void schedBreakCycle(Tick when);
|
||||
%}
|
||||
|
||||
%wrapper %{
|
||||
// fix up module name to reflect the fact that it's inside the m5 package
|
||||
#undef SWIG_name
|
||||
#define SWIG_name "m5.internal._debug"
|
||||
%}
|
||||
Reference in New Issue
Block a user