Use db_addr_t for the breakpoint address in db_set_single_step.

This commit is contained in:
Doug Rabson 1998-06-28 00:52:50 +00:00
parent 3bf983fb25
commit 7045d394b1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37217

View File

@ -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