summaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorqiyao <qiyao>2012-11-30 14:35:49 +0000
committerqiyao <qiyao>2012-11-30 14:35:49 +0000
commit6abf9dd803ec3edf2cab12f97ac51367d692f083 (patch)
treed695071c79e0763cfcdbe564763b479fff00abc8 /gdb/infrun.c
parentbc53aa3990b78fb4dca922592f5a358898a63a0c (diff)
downloadgdb-6abf9dd803ec3edf2cab12f97ac51367d692f083.tar.gz
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.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index d0ff62a152f..b0366824603 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)
{