[Bug 47119] winedbg truncates 64-bit address when compiled with mingw

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jul 4 10:21:58 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=47119

Bernhard Übelacker <bernhardu at mailbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernhardu at mailbox.org

--- Comment #1 from Bernhard Übelacker <bernhardu at mailbox.org> ---
Created attachment 70251
  --> https://bugs.winehq.org/attachment.cgi?id=70251
A few backtraces following the truncated address backwards in time.

This line seems responsible:
#3  0x000000000041f55f in dbg_lex () at
.../wine-git/programs/winedbg/debug.l:159
159     {DIGIT}+                                { sscanf(yytext, "%ld",
&dbg_lval.integer); return tNUM; }

Compiled with mingw, the line above calls
into sscanf in include/msvcrt/stdio.h:314.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list