diff options
author | Yao Qi <yao@codesourcery.com> | 2012-11-30 14:35:50 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-11-30 14:35:50 +0000 |
commit | 3d3fef6bebbc69ad069f05b5fcb17181553e7fa1 (patch) | |
tree | 904d958b7bb9a5918a58092feb4e4d2efee00cd9 /gdb/infrun.c | |
parent | 7cd12a76b7d6e6bdeb17364097ac05edfcb17481 (diff) | |
download | binutils-3d3fef6bebbc69ad069f05b5fcb17181553e7fa1.zip binutils-3d3fef6bebbc69ad069f05b5fcb17181553e7fa1.tar.gz binutils-3d3fef6bebbc69ad069f05b5fcb17181553e7fa1.tar.bz2 |
gdb/
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.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index d0ff62a..b036682 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3040,20 +3040,6 @@ init_infwait_state (void) infwait_state = infwait_normal_state; } -void -error_is_running (void) -{ - error (_("Cannot execute this command while " - "the selected thread is running.")); -} - -void -ensure_not_running (void) -{ - if (is_running (inferior_ptid)) - error_is_running (); -} - static int stepped_in_from (struct frame_info *frame, struct frame_id step_frame_id) { |