some more changes and fixes

This commit is contained in:
ceriel
1990-10-01 11:44:27 +00:00
parent 15e95081fd
commit 955353cb59
6 changed files with 43 additions and 9 deletions

View File

@@ -40,6 +40,7 @@ t_lineno currline, listline;
static int catch_sigpipe();
static int stopped();
static int uputm(), ugetm();
static t_addr curr_stop;
int
init_run()
@@ -169,7 +170,13 @@ start_child(p)
return 0;
}
do_items();
if (! restoring) send_cont(1);
if (! restoring && ! item_addr_actions(curr_stop)) {
send_cont(1);
}
else if (! restoring) {
stopped("stopped", curr_stop);
handle_displays();
}
return 1;
}
@@ -294,10 +301,11 @@ stopped(s, a)
if (s) {
fprintf(db_out, "%s ", s);
pos = print_position((t_addr) a, 1);
pos = print_position(a, 1);
fputs("\n", db_out);
list_position(pos);
}
curr_stop = a;
return 1;
}