--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-10-08 Hui Zhu + + * record.c (record_open): Reset after push_target. + 2008-10-07 Hui Zhu * inflow.c (kill_command): Remove query special for --- a/record.c +++ b/record.c @@ -413,12 +413,12 @@ record_open (char *name, int from_tty) } } + push_target (&record_ops); + /* Reset */ record_insn_num = 0; record_list = &record_first; record_list->next = NULL; - - push_target (&record_ops); } static void