From: Mark Linton Date: Wed, 17 Aug 1983 20:27:50 +0000 (-0800) Subject: added a flag for forcing the current location to be displayed X-Git-Tag: BSD-4_2-Snapshot-Development~325 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/b5c2913a7d4b238bf4b853c2360eef0ba557620b added a flag for forcing the current location to be displayed as an instruction, fixes problem with "stepi" on a program with source line information SCCS-vsn: old/dbx/eval.c 1.10 --- diff --git a/usr/src/old/dbx/eval.c b/usr/src/old/dbx/eval.c index 067d88a128..6dea1095fe 100644 --- a/usr/src/old/dbx/eval.c +++ b/usr/src/old/dbx/eval.c @@ -1,6 +1,6 @@ /* Copyright (c) 1982 Regents of the University of California */ -static char sccsid[] = "@(#)eval.c 1.9 %G%"; +static char sccsid[] = "@(#)eval.c 1.10 %G%"; /* * Tree evaluation. @@ -44,6 +44,7 @@ typedef Char Stack; public Stack stack[STACKSIZE]; public Stack *sp = &stack[0]; +public Boolean useInstLoc = false; #define chksp() \ { \ @@ -405,6 +406,7 @@ register Node p; stepc(); } inst_tracing = b; + useInstLoc = (Boolean) (not p->value.step.source); printnews(); break;