summaryrefslogtreecommitdiff
path: root/src/python/swig/debug.i
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/swig/debug.i')
-rw-r--r--src/python/swig/debug.i8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/python/swig/debug.i b/src/python/swig/debug.i
index b7fdb2171..44733eef7 100644
--- a/src/python/swig/debug.i
+++ b/src/python/swig/debug.i
@@ -28,7 +28,7 @@
* Authors: Nathan Binkert
*/
-%module debug
+%module(package="m5.internal") debug
%{
#include "base/types.hh"
@@ -38,9 +38,3 @@
%include "stdint.i"
%include "base/types.hh"
%include "sim/debug.hh"
-
-%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"
-%}