diff options
author | Doug Rabson <dfr@FreeBSD.org> | 1998-06-28 00:52:50 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 1998-06-28 00:52:50 +0000 |
commit | 7045d394b13c529c07def7a1fdcda7ae581018cb (patch) | |
tree | e9dba6e7fb637d7927512452e03c49433f0fcb60 /sys/ddb | |
parent | 3bf983fb25e2d0773618f5a046da0b78a8d7eb11 (diff) | |
download | src-7045d394b13c529c07def7a1fdcda7ae581018cb.tar.gz src-7045d394b13c529c07def7a1fdcda7ae581018cb.zip |
Use db_addr_t for the breakpoint address in db_set_single_step.
Notes
Notes:
svn path=/head/; revision=37217
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_run.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_run.c b/sys/ddb/db_run.c index a705bc126d94..ed9c9562378d 100644 --- a/sys/ddb/db_run.c +++ b/sys/ddb/db_run.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_run.c,v 1.13 1997/06/14 11:52:37 bde Exp $ + * $Id: db_run.c,v 1.14 1998/06/07 17:09:37 dfr Exp $ */ /* @@ -263,8 +263,8 @@ void db_set_single_step(regs) register db_regs_t *regs; { - db_addr_t pc = PC_REGS(regs); - register unsigned inst, brpc; + db_addr_t pc = PC_REGS(regs), brpc; + unsigned inst; /* * User was stopped at pc, e.g. the instruction |