define xcharset
set $tmp = (struct Lisp_Hash_Table *) ((Vcharset_hash_table & $valmask) | gdb_data_seg_bits)
set $tmp = (struct Lisp_Vector *) (($tmp->key_and_value & $valmask) | gdb_data_seg_bits)
- p $tmp->contents[$arg0 * 2]
+ p $tmp->contents[charset_table[$arg0].hash_index * 2]
pr
end
document xcharset
2009-07-07 Kenichi Handa <handa@m17n.org>
- * .gdbinit (xcharset): Fix the treating $arg0.
+ * .gdbinit (xcharset): Fix the treating of $arg0.
* character.h (unibyte_has_multibyte_table): Delete extern.
(UNIBYTE_CHAR_HAS_MULTIBYTE_P): Delete it.