Subject: Re: changed files: 'src/sys/ddb db_run.c'
To: Alien Briggs <briggs@sun-lamp.cs.berkeley.edu>
From: Allen X Briggs <briggs@csugrad.cs.vt.edu>
List: source-changes
Date: 12/15/1993 10:19:02
> Modified Files:
> 	db_run.c 
> Log Message:
> Non i386 machines are polite and don't point at instructions.  They
> count 'em.  Just to be nice, access the program counter with a macro...

On a second look, the location where ddb_regs.f_eip += 1; was doesn't
look right.  It looks like it's trying to fixup the instruction pointer
after a breakpoint, but that looks like it's being done elsewhere.

In any case, the change I made shouldn't cause behavior on the i386
to change, and it allows the code to *compile* on non-i386 boxes...

-allen

-- 
Allen Briggs         Find the cost of freedom / Buried in the ground
- end                Mother Earth will swallow you / Lay your body down
      killing -    
allen.briggs@vt.edu          ***** MacBSD == NetBSD/Mac *****

------------------------------------------------------------------------------