comparison src/.gdbinit @ 103739:e949a1712db6

(xcharset): Fix the treating $arg0.
author Kenichi Handa <handa@m17n.org>
date Tue, 07 Jul 2009 06:25:45 +0000
parents b99ba7437dec
children 7139c31d3b12
comparison
equal deleted inserted replaced
103738:851a95a239f8 103739:e949a1712db6
1007 end 1007 end
1008 1008
1009 define xcharset 1009 define xcharset
1010 set $tmp = (struct Lisp_Hash_Table *) ((Vcharset_hash_table & $valmask) | gdb_data_seg_bits) 1010 set $tmp = (struct Lisp_Hash_Table *) ((Vcharset_hash_table & $valmask) | gdb_data_seg_bits)
1011 set $tmp = (struct Lisp_Vector *) (($tmp->key_and_value & $valmask) | gdb_data_seg_bits) 1011 set $tmp = (struct Lisp_Vector *) (($tmp->key_and_value & $valmask) | gdb_data_seg_bits)
1012 p $tmp->contents[$arg0->hash_index * 2] 1012 p $tmp->contents[charset_table[$arg0].hash_index * 2]
1013 pr 1013 pr
1014 end 1014 end
1015 document xcharset 1015 document xcharset
1016 Print the name of charset that has ID (argument). 1016 Print the name of charset that has ID (argument).
1017 end 1017 end