Add unlink support to moxie simulator
[deliverable/binutils-gdb.git] / gdb / stack.c
index fcb9cdae03787ddd5edbbc6a1819494ac4f0d028..cc7b7e5bbe0a855faf84dbc3471ba516a51694a2 100644 (file)
@@ -3281,6 +3281,8 @@ frame_apply_command (const char* cmd, int from_tty)
 static void
 faas_command (const char *cmd, int from_tty)
 {
+  if (cmd == NULL || *cmd == '\0')
+    error (_("Please specify a command to apply on all frames"));
   std::string expanded = std::string ("frame apply all -s ") + cmd;
   execute_command (expanded.c_str (), from_tty);
 }
This page took 0.026741 seconds and 4 git commands to generate.