sim, arch, base: Refactor the base remote GDB class.
[gem5.git] / src / sim / arguments.cc
index 339a57f909895cf4973c99e03fa3137e1ee50fae..4d00d2cf62e8b86c14f3687de606b69181337579 100644 (file)
  * Authors: Nathan Binkert
  */
 
+#include "sim/arguments.hh"
+
 #include "arch/utility.hh"
 #include "config/the_isa.hh"
-#include "cpu/thread_context.hh"
-#include "sim/arguments.hh"
 
 Arguments::Data::~Data()
 {
@@ -50,8 +50,8 @@ Arguments::Data::alloc(size_t size)
 }
 
 uint64_t
-Arguments::getArg(bool fp)
+Arguments::getArg(uint16_t size, bool fp)
 {
-    return TheISA::getArgument(tc, number, fp);
+    return TheISA::getArgument(tc, number, size, fp);
 }