]> code.delx.au - gnu-emacs/blobdiff - src/.gdbinit
Delete the code that was trying to define BSD "right"
[gnu-emacs] / src / .gdbinit
index 131459f306426b8b6b1090892a993b2b155d56e1..ab47f0844ac874fa694eda8a4a58a6d7a1479e16 100644 (file)
@@ -3,6 +3,9 @@
 # Force loading of symbols, enough to give us gdb_valbits etc.
 set main
 
+# Find lwlib source files too.
+dir ../lwlib
+
 # This should be EMACS_INT, but in some cases that is a macro.
 # long ought to work in all cases right now.
 set $valmask = ((long)1 << gdb_valbits) - 1
@@ -145,7 +148,7 @@ end
 
 define xsymbol
 print (struct Lisp_Symbol *) ((((int) $) & $valmask) | gdb_data_seg_bits)
-output &$->name->data
+output (char*)&$->name->data
 echo \n
 end
 document xsymbol