X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2F.gdbinit;h=03720ca0b8c19e658cabdd3304c2a9d0ee07cc58;hb=5d0cf827247def2db200614bf5d3ab700776d641;hp=4cf1c3e96d19abc253788901621dc6c1f37f7172;hpb=0c693dc08f0794304711787b2eb47c144ea4bef1;p=chise%2Fxemacs-chise.git.1 diff --git a/src/.gdbinit b/src/.gdbinit index 4cf1c3e..03720ca 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -69,7 +69,7 @@ define decode_object if $type == Lisp_Type_Record set $lheader = ((struct lrecord_header *) $val) set $lrecord_type = ($lheader->type) - set $imp = lrecord_implementations_table[$lrecord_type] + set $imp = ((struct lrecord_implementation *) lrecord_implementations_table[(int) $lrecord_type]) else set $lrecord_type = -1 set $lheader = -1 @@ -166,21 +166,18 @@ Use when debugging temacs, not xemacs! Use this when temacs builds successfully, but xemacs does not. end -define dump-temacs +define dmp environment-to-run-temacs run -nd -batch -l ../lisp/loadup.el dump end -document dump-temacs -Usage: dump-temacs +document dmp +Usage: dmp Run the dumping part of the build procedure. Use when debugging temacs, not xemacs! Use this when temacs builds successfully, but xemacs does not. end -# if you use Purify, do this: -# export PURIFYOPTIONS='-pointer-mask=0x0fffffff' - define ldp printf "%s", "Lisp => " call debug_print($arg0)