<P><A href="http://www.winehq.org/hypermail/wine-devel/2005/03/0219.html">http://www.winehq.org/hypermail/wine-devel/2005/03/0219.html</A><BR></P>
<P>(not sure it still applies cleanly, at least some tiny parts are now in CVS tree)<BR><BR>A+<BR><BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #ff0000 2px solid">> Message du 30/11/05 05:13<BR>> De : "Vitaliy Margolen" <WINE-DEVEL@KIEVINFO.COM><BR>> A : "Eric Pouech" <ERIC.POUECH@WANADOO.FR><BR>> Copie à : wine-devel@winehq.org<BR>> Objet : Re: Dereferencing a pointer in winedbg<BR>> <BR>> Monday, November 28, 2005, 2:33:35 PM, Eric Pouech wrote:<BR>> > Vitaliy Margolen wrote:<BR>> >> Sunday, November 27, 2005, 10:50:39 PM, Marcus Meissner wrote:<BR>> >> <BR>> >>>On Sun, Nov 27, 2005 at 06:35:15PM -0700, Vitaliy Margolen wrote:<BR>> >>><BR>> >>>>Is it possible to dereference a pointer in winedbg? Help says that<BR>> >>>>"*$eax" is a valid expression. But when I'm trying to use it it saying:<BR>> >>>>Wine-dbg>p *$eax<BR>> >>>>No type or type mismatch<BR>> >>>><BR>> >>>>Is there are a way to do this?<BR>> >>><BR>> >>>(x aka examine memory)<BR>> >>><BR>> >>>x $eax<BR>> >>><BR>> >>>Ciao, Marcus<BR>> >> <BR>> >> <BR>> >> Well I need to add that to display. Something like: display/x *$eax<BR>> >> Doing x $eax and then x <RESULT>100s times kind of hard.<BR>> <BR>> > display /x means (in gdb) formatting differently the output, not <BR>> > dereferencing the (so called) pointer (display is a repeated 'p' <BR>> > command, not a 'x' one).<BR>> Yes I know. I meant /x for hex not decimal.<BR>> <BR>> > what you'd need is support for type casts and use something like:<BR>> > display *(int*)$eax<BR>> Yes correct. That's exactly what I need.<BR>> <BR>> > I sent a couple of months ago a patch for winedbg that (partly) <BR>> > implemented the support for typecasts in wine. You should look for it.<BR>> Could you please point me to it? I've spent last hour or so trying to<BR>> find it.<BR>> <BR>> Vitaliy.<BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> </BLOCKQUOTE>