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:
0d3e7f6
)
* infrun.c (wait_for_inferior): Check return value from
author
Stu Grossman
<grossman@cygnus>
Wed, 23 Oct 1991 01:06:36 +0000
(
01:06
+0000)
committer
Stu Grossman
<grossman@cygnus>
Wed, 23 Oct 1991 01:06:36 +0000
(
01:06
+0000)
find_pc_line.
gdb/infrun.c
patch
|
blob
|
history
diff --git
a/gdb/infrun.c
b/gdb/infrun.c
index 5f85779de79a73f7c77c46f97efd90f1f1bea5de..1aea0a2a2c15e87617eb1db70db20a23999a6787 100644
(file)
--- a/
gdb/infrun.c
+++ b/
gdb/infrun.c
@@
-1245,8
+1245,9
@@
wait_for_inferior ()
step_range_start and step_range_end, and just continue. */
sal = find_pc_line(stop_pc, 0);
- if (current_line != sal.line
- && stop_pc == sal.pc) {
+ if (sal.line == 0 || /* Stop now if no line # info */
+ (current_line != sal.line
+ && stop_pc == sal.pc)) {
stop_step = 1;
break;
} else {