[M3devel] m3gap.... what is it and what does this mean?

Rodney M. Bates rodney_bates at lcwb.coop
Tue Oct 5 21:29:22 CEST 2010


Are the gdb and m3gdb prints for the same value of 'event'?   Several of the fields show different
values.

Dragiša Durić wrote:
> (gdb) p event
> $1 = {type = 8 '\b', _m3gap_8_56 = {<No data fields>}, window = 0x6924c0, send_event = 0 '\000', _m3gap_136_56 = 
>     {<No data fields>}, time = 210453397504, state = 1, keyval = 0, length = 22953024, _m3gap_352_32 = {<No data fields>}, 
>   string = 0xa <Address 0xa out of bounds>, hardware_keycode = 0, group = 0 '\000', _m3gap_472_40 = {<No data fields>}}
> 
> 
>  VAR
>    event: Gdk.EventKey;
> 
>   EventKey = RECORD 
>     type: EventType;
>     window: WindowStar;
>     send_event: char;
>     time: unsigned_long_int;  
>     state: unsigned_int;
>     keyval: unsigned_int;
>     length: int;
>     string: char_star;
>     hardware_keycode: unsigned_short_int;
>     group: unsigned_char;
>   END;
> 
> also with m3gdb....
> 
> (m3gdb) p event
> $1 = {4type = 8 '\b', _m3gap_8_56 = {<No data fields>}, window = 0x0,
> send_event = 0 '\000', 
>   _m3gap_136_56 = {<No data fields>}, time = 49, state = -937844736,
> keyval = 32616, length = 23801648, 
>   _m3gap_352_32 = {<No data fields>}, string = 0x7f68c839be10 "\001
> \000", hardware_keycode = 0, group = 0 '\000', 
>   _m3gap_472_40 = {<No data fields>}}
> 



More information about the M3devel mailing list