aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-12-05 02:08:26 +0000
committerPedro Alves <palves@redhat.com>2008-12-05 02:08:26 +0000
commite71c9293b34654e2e01e9b33201b5e6c09dcc10a (patch)
tree4af423044eae3ebe83c98cc6cf6569b14797bd33 /gdb/infcmd.c
parent1403b9e2c004643151b05a2592cd2764e4fd5e07 (diff)
downloadgdb-e71c9293b34654e2e01e9b33201b5e6c09dcc10a.zip
gdb-e71c9293b34654e2e01e9b33201b5e6c09dcc10a.tar.gz
gdb-e71c9293b34654e2e01e9b33201b5e6c09dcc10a.tar.bz2
* infcmd.c (step_once): Remove dead code.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 810b3b7..512bb38 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -928,8 +928,6 @@ step_once (int skip_subroutines, int single_inst, int count, int thread)
clear_proceed_status ();
frame = get_current_frame ();
- if (!frame) /* Avoid coredump here. Why tho? */
- error (_("No current frame"));
tp->step_frame_id = get_frame_id (frame);
if (!single_inst)