summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/db_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/db_trace.c b/i386/i386/db_trace.c
index cdebde1..ec33859 100644
--- a/i386/i386/db_trace.c
+++ b/i386/i386/db_trace.c
@@ -488,7 +488,7 @@ db_i386_stack_trace(
db_printf("...");
db_printf(")");
if (offset) {
- db_printf("+%x", offset);
+ db_printf("+0x%x", offset);
}
if (db_line_at_pc(0, &filename, &linenum, callpc)) {
db_printf(" [%s", filename);