From e71c9293b34654e2e01e9b33201b5e6c09dcc10a Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 5 Dec 2008 02:08:26 +0000 Subject: [PATCH] * infcmd.c (step_once): Remove dead code. --- gdb/ChangeLog | 4 ++++ gdb/infcmd.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3bff9201caf..50254b570e7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-12-05 Pedro Alves + + * infcmd.c (step_once): Remove dead code. + 2008-12-04 Doug Evans * infcall.c (call_function_by_hand): Clean up use of local dummy_addr. diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 810b3b706fc..512bb3864b5 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) -- 2.30.2