summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_run.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2015-05-23 14:59:27 +0000
committerpfg <pfg@FreeBSD.org>2015-05-23 14:59:27 +0000
commitfe0f292016ddd669523eb994dfa3c352edd4d9a0 (patch)
tree4b9b29c94626a530bc9e4622f78f9458b56d1f7a /sys/ddb/db_run.c
parent87c8fa6302d3210344b43543cfca05cf28c67c22 (diff)
downloadFreeBSD-src-fe0f292016ddd669523eb994dfa3c352edd4d9a0.zip
FreeBSD-src-fe0f292016ddd669523eb994dfa3c352edd4d9a0.tar.gz
ddb: de-register
Diffstat (limited to 'sys/ddb/db_run.c')
-rw-r--r--sys/ddb/db_run.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/ddb/db_run.c b/sys/ddb/db_run.c
index a0ada0e..026a9b6 100644
--- a/sys/ddb/db_run.c
+++ b/sys/ddb/db_run.c
@@ -80,8 +80,8 @@ db_breakpoint_t db_taken_bkpt = 0;
bool
db_stop_at_pc(bool *is_breakpoint)
{
- register db_addr_t pc;
- register db_breakpoint_t bkpt;
+ db_addr_t pc;
+ db_breakpoint_t bkpt;
pc = PC_REGS();
#ifdef SOFTWARE_SSTEP
@@ -149,7 +149,7 @@ db_stop_at_pc(bool *is_breakpoint)
(!inst_return(ins) || --db_call_depth != 0)) {
if (db_sstep_print) {
if (inst_call(ins) || inst_return(ins)) {
- register int i;
+ int i;
db_printf("[after %6d] ", db_inst_count);
for (i = db_call_depth; --i > 0; )
@@ -181,7 +181,7 @@ db_stop_at_pc(bool *is_breakpoint)
void
db_restart_at_pc(bool watchpt)
{
- register db_addr_t pc = PC_REGS();
+ db_addr_t pc = PC_REGS();
if ((db_run_mode == STEP_COUNT) ||
(db_run_mode == STEP_RETURN) ||
OpenPOWER on IntegriCloud