From c9aae1b6dadccfe81f919a2cc1eb393b1fda9b03 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 23 Apr 2015 01:24:39 +0200 Subject: Prepend 0x to hexadecimal offset * i386/i386/db_trace.c (db_i386_stack_trace): Prepend 0x to hexadecimal offset. --- i386/i386/db_trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3