mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 07:11:05 +01:00
Use db_addr_t for the breakpoint address in db_set_single_step.
This commit is contained in:
parent
3bf983fb25
commit
7045d394b1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37217
@ -23,7 +23,7 @@
|
|||||||
* any improvements or extensions that they make and grant Carnegie the
|
* any improvements or extensions that they make and grant Carnegie the
|
||||||
* rights to redistribute these changes.
|
* 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)
|
db_set_single_step(regs)
|
||||||
register db_regs_t *regs;
|
register db_regs_t *regs;
|
||||||
{
|
{
|
||||||
db_addr_t pc = PC_REGS(regs);
|
db_addr_t pc = PC_REGS(regs), brpc;
|
||||||
register unsigned inst, brpc;
|
unsigned inst;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* User was stopped at pc, e.g. the instruction
|
* User was stopped at pc, e.g. the instruction
|
||||||
|
Loading…
Reference in New Issue
Block a user