winedbg: remove duplicated bare address in backtrace

Peter Oberndorfer kumbayo84 at arcor.de
Sun Oct 15 13:05:51 CDT 2006


the bare address is printed at the beginning of the line and at the end in ( )
like "2 0xb7eccf3b wine_switch_to_stack+0x17 in libwine.so.1 (0xb7eccf3b)"

Changelog:
remove duplicated bare address in backtrace
-------------- next part --------------
From 3e937c89413b269925143f9e460ca8b0c5af7152 Mon Sep 17 00:00:00 2001
From: Peter Oberndorfer <kumbayo84 at arcor.de>
Date: Sun, 15 Oct 2006 18:59:55 +0200
Subject: [PATCH] winedbg: remove duplicated bare address in backtrace
---
 programs/winedbg/stack.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/programs/winedbg/stack.c b/programs/winedbg/stack.c
index 9aa9de8..2681cd0 100644
--- a/programs/winedbg/stack.c
+++ b/programs/winedbg/stack.c
@@ -287,9 +287,7 @@ static void backtrace(void)
                    (cf == dbg_curr_thread->curr_frame ? "=>" : "  "),
                    dbg_curr_thread->curr_frame + 1);
         stack_print_addr_and_args(dbg_curr_thread->curr_frame);
-        dbg_printf(" (");
-        print_bare_address(&dbg_curr_thread->frames[dbg_curr_thread->curr_frame].addr_pc);
-        dbg_printf(")\n");
+        dbg_printf("\n");
     }
     /* reset context to current stack frame */
     dbg_curr_thread->curr_frame = cf;
-- 
1.4.2



More information about the wine-patches mailing list