X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/26bf27137b277ad30fc9d766aac6a6add8dc5e20..ebd07f54744cb00562c0ddfb7ae11728dc65c76a:/sys/platform/pc32/i386/db_trace.c diff --git a/sys/platform/pc32/i386/db_trace.c b/sys/platform/pc32/i386/db_trace.c index 7dbdf60f6f..6654ad308c 100644 --- a/sys/platform/pc32/i386/db_trace.c +++ b/sys/platform/pc32/i386/db_trace.c @@ -163,6 +163,7 @@ db_print_stack_entry(const char *name, int narg, char **argnp, int *argp, } db_printf(") at "); db_printsym(callpc, DB_STGY_PROC); + db_printf(" %p ", (void*) callpc); db_printf("\n"); } @@ -297,7 +298,7 @@ db_stack_trace_cmd(db_expr_t addr, boolean_t have_addr, db_expr_t count, db_printf("pid %d not found\n", pid); return; } - if ((p->p_flag & P_SWAPPEDOUT)) { + if ((p->p_flags & P_SWAPPEDOUT)) { db_printf("pid %d swapped out\n", pid); return; }