Re: Re: [winedbg] Get expressions working again.
> Ok, I'll take a look at this, but if where shouldn't > be using two pointer types we should be using > SymGetTypeInfo in all cases? the only (two things) you have to do are: - if one cannot find the pointer type in the pointee's module, then create a winedbg's type for the pointer type and store this type in a lookup table - in type_get_info, extend the types supported by also searching the lookup table for the pointers type. the lookup table should contain pointee type and module of pointee. You could also extend step 1 by not adding a pointer that already exists. A+
Pouech Eric DMI AEI CAEN a écrit :
Ok, I'll take a look at this, but if where shouldn't be using two pointer types we should be using SymGetTypeInfo in all cases?
the only (two things) you have to do are: - if one cannot find the pointer type in the pointee's module, then create a winedbg's type for the pointer type and store this type in a lookup table - in type_get_info, extend the types supported by also searching the lookup table for the pointers type. the lookup table should contain pointee type and module of pointee. You could also extend step 1 by not adding a pointer that already exists. A+ does the attached (and quickly hacked) patch help ? A+
-- Eric Pouech
- in type_get_info, extend the types supported by also searching the lookup table for the pointers type. the lookup table should contain pointee type and module of pointee. You could also extend step 1 by not adding a pointer that already exists. A+ does the attached (and quickly hacked) patch help ? A+
Thanks, that's more-or-less what I tought you meant, I'm upgrading gcc and trying to merge in the DirectX9 first (which is why I didn't have time to rework and test the implementation) and I've got a load of non-wine related code to sort out upload to my website after that. I'll put together an implementation with a sorted list, binary search and no duplicates at some point (unless someone gets there first), but I can send in a patch to display the variable names HeapAlloc'd later on today since it's easy and doesn't require much testing. Send instant messages to your online friends http://uk.messenger.yahoo.com
participants (3)
-
Eric Pouech -
Oliver Stieber -
Pouech Eric DMI AEI CAEN