diff options
author | dfr <dfr@FreeBSD.org> | 1998-06-28 00:52:50 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-06-28 00:52:50 +0000 |
commit | e1316cb0ae78944f953533899d164919f852e4a7 (patch) | |
tree | 303f1fc65622ca1d65a273cd94b0f649e56bd421 /sys/ddb | |
parent | a20fbca38d1adae9351b4777a5300f463003a56e (diff) | |
download | FreeBSD-src-e1316cb0ae78944f953533899d164919f852e4a7.zip FreeBSD-src-e1316cb0ae78944f953533899d164919f852e4a7.tar.gz |
Use db_addr_t for the breakpoint address in db_set_single_step.
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 a705bc1..ed9c956 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 |