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