diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1997-03-25 17:07:41 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1997-03-25 17:07:41 +0000 |
commit | 330baa486619395a6eecd49fd0b11d82e85e7ee4 (patch) | |
tree | 66570ef31f25b716ea03ca18d95906546fb29866 /sys/ddb | |
parent | 4365bb59c3447d65284b2b1adcabb62cc688ad38 (diff) |
Ok here is the mvme88k userland, minus a few important pieces.
as, ld change need to be merged. It is known that shared libraries and C++
do not work.
If anyone wants to step forward and take over the mvme88k port please do.
It was dumped on me when the original developer, Nivas, left his previous
job and started a new one.
I am trying to get the port in a shape that someone could take over.
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_run.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/ddb/db_run.c b/sys/ddb/db_run.c index dadb804dbbf..5a402369427 100644 --- a/sys/ddb/db_run.c +++ b/sys/ddb/db_run.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_run.c,v 1.5 1997/03/21 00:48:41 niklas Exp $ */ +/* $OpenBSD: db_run.c,v 1.6 1997/03/25 17:07:39 rahnds Exp $ */ /* $NetBSD: db_run.c,v 1.8 1996/02/05 01:57:12 christos Exp $ */ /* @@ -95,7 +95,9 @@ db_stop_at_pc(regs, is_breakpoint) return (TRUE); /* stop here */ } } else if (*is_breakpoint) { +#ifndef m88k PC_REGS(regs) += BKPT_SIZE; +#endif } *is_breakpoint = FALSE; @@ -260,6 +262,7 @@ db_set_single_step(regs) */ inst = db_get_value(pc, sizeof(int), FALSE); if (inst_branch(inst) || inst_call(inst)) { + extern unsigned getreg_val(); brpc = branch_taken(inst, pc, getreg_val, regs); if (brpc != pc) { /* self-branches are hopeless */ |