2012-11-30  Yao Qi  <yao@codesourcery.com>

	* infrun.c (error_is_running, ensure_not_running): Move them
	to ...
	* infcmd.c (error_is_running, ensure_not_running): ... here.
	Make them 'static'.
	* inferior.h: Remove declarations of error_is_running and
	ensure_not_running.
This commit is contained in:
Yao Qi
2012-11-30 14:35:50 +00:00
parent 7cd12a76b7
commit 3d3fef6beb
4 changed files with 27 additions and 20 deletions

View File

@@ -228,12 +228,6 @@ extern void get_last_target_status(ptid_t *ptid,
extern void follow_inferior_reset_breakpoints (void);
/* Throw an error indicating the current thread is running. */
extern void error_is_running (void);
/* Calls error_is_running if the current thread is running. */
extern void ensure_not_running (void);
void set_step_info (struct frame_info *frame, struct symtab_and_line sal);
/* From infcmd.c */