From: utzoo!watmath!rday
Newsgroups: net.unix-wizards
Title: Register variables in SDB
Article-I.D.: watmath.4775
Posted: Thu Mar 24 17:48:37 1983
Received: Fri Mar 25 06:12:14 1983

   I suppose anyone who has used SDB is familiar with this problem.
The parameter c to a routine is defined in the routine as:

	register	int c;

Any changes to this variable inside the routine show no change,
as SDB obviously refers to the value on the stack frame.
The register associated with c changes properly.  I realize that
there is nothing I can do about this, except check the register.
Is this the standard way, or is there something I am grossly ignorant about.

P.S.  I assume local variables defined as register can be displayed properly,
  since there is nowhere else SDB can get the value but the register.

					R. Day