NtMapViewOfSection - Chasing more holes
Dominik Strasser
dominik.strasser at infineon.com
Mon Apr 18 02:44:36 CDT 2005
Robert Lunnon wrote:
> On Sun, 17 Apr 2005 10:32 pm, Dmitry Timoshkov wrote:
>
>>"Robert Lunnon" <bobl at optushome.com.au> wrote:
>>
>>>Breakpoint 2, NtMapViewOfSection (handle=0x78, process=0xffffffff,
>>>addr_ptr=0x7fd8ed48, zero_bits=0, commit_size=0, offset=0x7fd8ed1c,
>>> size_ptr=0x7fd8ed44, inherit=ViewShare, alloc_type=0, protect=2) at
>>>virtual.c:1737
>>>1737 ERR("Sizes larger than 4Gb not supported\n");
>>>
>>>(gdb) disp base
>>>1: base = (void *) 0x0
>>>(gdb) disp header_size
>>>2: header_size = 0
>>>(gdb) disp size_high
>>>3: size_high = 74960
>>>(gdb) disp size_low
>>>4: size_low = 77824
>>>(gdb) disp res
>>>5: res = 0
>>>(gdb)
>>>
>>>This doesn't seem right to me.
>>
>>Is that with current CVS? Line number indicates that it is not.
>
>
> Its from about a week ago, but the problem has been solved, gcc doesn't make
> x>>32 = 0 where x is a 32 bit number.
>
AFAIK shifting with >= bitsize is "implementation defined" by the C
standard.
Regards
Dominik
--
Dominik Strasser | Phone: +49 89 234-43691
Infineon Technologies AG | Fax: +49 89 234-26997
COM CAL D DAT DF V | E-Mail:Dominik.Strasser at infineon.com
D-81730 Muenchen | Room: 53-263
More information about the wine-devel
mailing list