+ for (i= 0, parm= cmdline->param(i);
+ parm;
+ i++, parm= cmdline->param(i))
+ {
+ if (!parm->as_address(uc) ||
+ !mem->valid_address(parm->value.address))
+ con->dd_printf("Warning: Invalid address %s\n",
+ (char*)cmdline->tokens->at(i+1));
+ else
+ mem->dump(parm->value.address, parm->value.address, 1, con);
+ }
+
+ return(DD_FALSE);;
+}
+
+
+/*
+ * Command: get option
+ *----------------------------------------------------------------------------
+ */
+
+//int
+//cl_get_option_cmd::do_work(class cl_sim *sim,
+// class cl_cmdline *cmdline, class cl_console_base *con)
+COMMAND_DO_WORK_APP(cl_get_option_cmd)
+{
+ class cl_cmd_arg *parm= cmdline->param(0);
+ char *s= 0;
+
+ if (!parm)
+ ;
+ else if (cmdline->syntax_match(0/*app->get_uc()*/, STRING)) {
+ s= parm->value.string.string;
+ }