diff options
-rw-r--r-- | sys/ddb/db_run.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/ddb/db_run.c b/sys/ddb/db_run.c index f0b31bf..897dc3d 100644 --- a/sys/ddb/db_run.c +++ b/sys/ddb/db_run.c @@ -188,14 +188,14 @@ db_restart_at_pc(watchpt) if ((db_run_mode == STEP_COUNT) || (db_run_mode == STEP_RETURN) || (db_run_mode == STEP_CALLT)) { - db_expr_t ins; - /* * We are about to execute this instruction, * so count it now. */ - - ins = db_get_value(pc, sizeof(int), FALSE); +#ifdef SOFTWARE_SSTEP + db_expr_t ins = +#endif + db_get_value(pc, sizeof(int), FALSE); db_inst_count++; db_load_count += inst_load(ins); db_store_count += inst_store(ins); |