From: Eli Zaretskii Date: Mon, 28 Jul 2014 07:17:22 +0000 (+0300) Subject: Fix the GDB xsubchartable command. X-Git-Tag: emacs-25.0.90~2636^3~19 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a7947cd8742b236b90d054dbaf3e43ab6677ec0b;p=emacs.git Fix the GDB xsubchartable command. src/.gdbinit (xsubchartable): The members 'depth' and 'min_char' are now C integers. --- diff --git a/src/.gdbinit b/src/.gdbinit index fd2e871ff3d..fb2a9bf72ed 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -870,10 +870,8 @@ end define xsubchartable xgetptr $ print (struct Lisp_Sub_Char_Table *) $ptr - xgetint $->depth - set $depth = $int - xgetint $->min_char - printf "Depth: %d, Min char: %d (0x%x)\n", $depth, $int, $int + set $subchartab = (struct Lisp_Sub_Char_Table *) $ptr + printf "Depth: %d, Min char: %d (0x%x)\n", $subchartab->depth, $subchartab->min_char, $subchartab->min_char end document xsubchartable Print the address of the sub-char-table $, its depth and min-char. diff --git a/src/ChangeLog b/src/ChangeLog index ebc412c8869..7edd4f329b0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-07-28 Eli Zaretskii + + * .gdbinit (xsubchartable): The members 'depth' and 'min_char' are + now C integers. + 2014-07-28 Dmitry Antipov On GNU/Linux, use timerfd for asynchronous timers.