  	return ret;
  }
  
-@@ -574,7 +788,6 @@ static int step_system(struct sim_device
+@@ -574,7 +788,6 @@
  		if (count < 0)
  			return -1;
  	}

 static int sim_ctl(device_t dev_base, device_ctl_t op)
 {
 	struct sim_device *dev = (struct sim_device *)dev_base;
@@ -794,6 +1008,546 @@ static device_t sim_open(const struct de
 	return (device_t)dev;
 }
 

 	}
 };
 
diff -ruN mspdebug-0.22/ui/devcmd.c mspdebug-0.22-new/ui/devcmd.c
--- mspdebug-0.22/ui/devcmd.c	2013-07-17 20:23:16.000000000 -0400
+++ mspdebug-0.22-new/ui/devcmd.c	2014-03-03 17:49:45.000000000 -0500
@@ -832,3 +832,112 @@
 
 	return 0;
 }
