OSDN Git Service

* infcmd.c (step_once): Remove dead code.
authorpalves <palves>
Fri, 5 Dec 2008 02:08:23 +0000 (02:08 +0000)
committerpalves <palves>
Fri, 5 Dec 2008 02:08:23 +0000 (02:08 +0000)
gdb/ChangeLog
gdb/infcmd.c

index 3bff920..50254b5 100644 (file)
@@ -1,3 +1,7 @@
+2008-12-05  Pedro Alves  <pedro@codesourcery.com>
+
+       * infcmd.c (step_once): Remove dead code.
+
 2008-12-04  Doug Evans  <dje@google.com>
 
        * infcall.c (call_function_by_hand): Clean up use of local dummy_addr.
index 810b3b7..512bb38 100644 (file)
@@ -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)