Lines Matching refs:cmd
50 scan_expression_with_cleanup (char **cmd, const char *def)
52 if ((*cmd) == NULL || (**cmd) == '\0')
63 end = (*cmd) + strcspn (*cmd, " \t");
64 exp = savestring ((*cmd), end - (*cmd));
66 (*cmd) = skip_spaces (end);
86 scan_filename_with_cleanup (char **cmd, const char *defname)
94 if ((*cmd) == NULL)
106 (*cmd) = skip_spaces (*cmd);
107 end = *cmd + strcspn (*cmd, " \t");
108 filename = savestring ((*cmd), end - (*cmd));
110 (*cmd) = skip_spaces (end);
181 dump_command (char *cmd, int from_tty)
188 append_command (char *cmd, int from_tty)
226 dump_memory_to_file (char *cmd, char *mode, char *file_format)
239 filename = scan_filename_with_cleanup (&cmd, NULL);
242 if (cmd == NULL || *cmd == '\0')
244 lo_exp = scan_expression_with_cleanup (&cmd, NULL);
247 if (cmd == NULL || *cmd == '\0')
249 hi_exp = cmd;
277 dump_memory_command (char *cmd, char *mode)
279 dump_memory_to_file (cmd, mode, "binary");
283 dump_value_to_file (char *cmd, char *mode, char *file_format)
290 filename = scan_filename_with_cleanup (&cmd, NULL);
293 if (cmd == NULL || *cmd == '\0')
295 val = parse_and_eval (cmd);
328 dump_value_command (char *cmd, char *mode)
330 dump_value_to_file (cmd, mode, "binary");
395 void (*func) (char *cmd, char *mode);
637 srec_dump_command (char *cmd, int from_tty)
644 ihex_dump_command (char *cmd, int from_tty)
651 tekhex_dump_command (char *cmd, int from_tty)
658 binary_dump_command (char *cmd, int from_tty)
665 binary_append_command (char *cmd, int from_tty)