+Fri Jan 2 16:56:16 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
+[From Keith Seitz (kseitz@cygnus.com)]
+
+ * actiondlg.tcl (change): handle '$' in register names.
+ gdbtk.c (gdb_actions_command): extract and save step count
+ from "while-stepping" command
+
For older changes see ChangeLog-97
\f
Local Variables:
Tcl_Obj **actions;
int nactions, i, len;
char *number, *args, *action;
+ long step_count;
struct action_line *next = NULL, *temp;
if (objc != 3)
free (temp->action);
free (temp);
}
+ step_count = 0;
Tcl_ListObjGetElements (interp, objv[2], &nactions, &actions);
for (i = 0; i < nactions; i++)
temp->next = NULL;
action = Tcl_GetStringFromObj (actions[i], &len);
temp->action = savestring (action, len);
+ if (sscanf (temp->action, "while-stepping %d", &step_count) !=0)
+ tp->step_count = step_count;
if (next == NULL)
{
tp->actions = temp;