X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2F.gdbinit;h=03720ca0b8c19e658cabdd3304c2a9d0ee07cc58;hb=767a4d3c6cc84c530d28f5fa02f51c23ccd29f4e;hp=e3804b66d22cc91a84c5a573ad4344048b1c92f1;hpb=571a24e2bfea15d37c3503414674f59e89ec9652;p=chise%2Fxemacs-chise.git.1 diff --git a/src/.gdbinit b/src/.gdbinit index e3804b6..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 @@ -178,9 +178,6 @@ 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)