diff src/.gdbinit.in.in @ 5598:bccc91a65536

Fix .gdbinit and .dbxrc when using the new garbage collector. ChangeLog: 2011-11-21 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * configure.ac: Fix creation of etc/dbxrc and src/.dbxrc; only try to create Makefile when Makefile.in is there. * configure: Regenerate. src/ChangeLog: 2011-11-21 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * .gdbinit.in.in: There is no lrecord_type_lcrecord_list when using the new garbage collector; print $lrecord_type when Lisp Object type is unknown to pobj. etc/ChangeLog: 2011-11-21 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * dbxrc.in: There is no lrecord_type_lcrecord_list when using the new garbage collector; print $lrecord_type when Lisp Object type is unknown to pobj.
author Marcus Crestani <crestani@informatik.uni-tuebingen.de>
date Mon, 21 Nov 2011 10:28:31 +0100
parents 002cb5224e4f
children f4d74be74462
line wrap: on
line diff
--- a/src/.gdbinit.in.in	Tue Nov 15 20:19:20 2011 -0500
+++ b/src/.gdbinit.in.in	Mon Nov 21 10:28:31 2011 +0100
@@ -391,9 +391,11 @@
   if $lrecord_type == lrecord_type_keymap
     pptype Lisp_Keymap
   else
+#ifndef NEW_GC
   if $lrecord_type == lrecord_type_lcrecord_list
     pstructtype lcrecord_list
   else
+#endif
   if $lrecord_type == lrecord_type_ldap
     pptype Lisp_LDAP
   else
@@ -458,6 +460,7 @@
     pstructtype fc_config
   else
     echo Unknown Lisp Object type\n
+    print $lrecord_type
     print $arg0
   ## Barf, gag, retch
   end
@@ -466,7 +469,9 @@
   end
   end
   end
+#ifndef NEW_GC
   end
+#endif
   end
   end
   end