projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1403b9e
)
* infcmd.c (step_once): Remove dead code.
author
Pedro Alves
<palves@redhat.com>
Fri, 5 Dec 2008 02:08:26 +0000
(
02:08
+0000)
committer
Pedro Alves
<palves@redhat.com>
Fri, 5 Dec 2008 02:08:26 +0000
(
02:08
+0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/infcmd.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 3bff9201caf3396cb8e1fc15a1463d9e0ece0687..50254b570e79e51e3432c1eacd94566743436702 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-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.
diff --git
a/gdb/infcmd.c
b/gdb/infcmd.c
index 810b3b706fcb814b04650bf8dfea0c91a1e3a9e5..512bb3864b56c42c9167c953e0bea74f54ef9187 100644
(file)
--- 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)