winedbg: print frame address instead of duplicated bare address in backtrace

Peter Oberndorfer kumbayo84 at arcor.de
Tue Oct 17 14:10:29 CDT 2006


as per suggestion of  Eric Pouech, this returns the behavior to the same,
as before commit 3e07e047648e061dfa3ff4665d5b31a6c8a7c051.
frame address is printed in ( ) at end of line

Changelog:
print frame address instead of duplicated bare address in backtrace
-------------- next part --------------
From af8bb51fc902f25cf93bd961aa19c2bae63491e9 Mon Sep 17 00:00:00 2001
From: Peter Oberndorfer <kumbayo84 at arcor.de>
Date: Tue, 17 Oct 2006 21:00:29 +0200
Subject: [PATCH] winedbg: print frame address instead of duplicated bare address in backtrace

---
 programs/winedbg/stack.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/winedbg/stack.c b/programs/winedbg/stack.c
index 9aa9de8..57e2ad7 100644
--- a/programs/winedbg/stack.c
+++ b/programs/winedbg/stack.c
@@ -288,7 +288,7 @@ static void backtrace(void)
                    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);
+        print_bare_address(&dbg_curr_thread->frames[dbg_curr_thread->curr_frame].addr_frame);
         dbg_printf(")\n");
     }
     /* reset context to current stack frame */
-- 
1.4.2



More information about the wine-patches mailing list