changeset 103739:e949a1712db6

(xcharset): Fix the treating $arg0.
author Kenichi Handa <handa@m17n.org>
date Tue, 07 Jul 2009 06:25:45 +0000
parents 851a95a239f8
children 1896419e9422
files src/.gdbinit
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/.gdbinit	Tue Jul 07 06:25:20 2009 +0000
+++ b/src/.gdbinit	Tue Jul 07 06:25:45 2009 +0000
@@ -1009,7 +1009,7 @@
 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->hash_index * 2]
+  p $tmp->contents[charset_table[$arg0].hash_index * 2]
   pr
 end
 document xcharset