void breakpoint_clear_ignore_counts ();
\f
+/* ARGSUSED */
void
tty_command (file, from_tty)
char *file;
/* Step until outside of current statement. */
static void step_1 ();
+/* ARGSUSED */
static void
step_command (count_string, from_tty)
char * count_string;
/* Likewise, but skip over subroutine calls as if single instructions. */
+/* ARGSUSED */
static void
next_command (count_string, from_tty)
char * count_string;
/* Likewise, but step only one instruction. */
+/* ARGSUSED */
static void
stepi_command (count_string, from_tty)
char * count_string;
step_1 (0, 1, count_string);
}
+/* ARGSUSED */
static void
nexti_command (count_string, from_tty)
char * count_string;
we set. I'm going to postpone this until after a hopeful rewrite
of wait_for_inferior and the proceed status code. -- randy */
+/* ARGSUSED */
void
until_next_command (from_tty)
int from_tty;
error ("The \"finish\" command does not take any arguments.");
if (!target_has_execution)
error ("The program is not running.");
+ if (selected_frame == NULL)
+ error ("No selected frame.");
frame = get_prev_frame (selected_frame);
if (frame == 0)
}
}
\f
+/* ARGSUSED */
static void
program_info (args, from_tty)
char *args;
const static char path_var_name[] = "PATH";
+/* ARGSUSED */
void
path_info (args, from_tty)
char *args;
dont_repeat ();
exec_path = strsave (get_in_environ (inferior_environ, path_var_name));
- mod_path (dirname, from_tty, &exec_path);
+ mod_path (dirname, &exec_path);
set_in_environ (inferior_environ, path_var_name, exec_path);
free (exec_path);
if (from_tty)
- path_info ();
+ path_info ((char *)NULL, from_tty);
}
\f
CORE_ADDR