[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: customizing emacs at compile time (or with dump-emacs?)
From: |
Eli Zaretskii |
Subject: |
Re: customizing emacs at compile time (or with dump-emacs?) |
Date: |
22 Feb 2004 08:07:13 +0200 |
> From: Joe Corneli <jcorneli@math.utexas.edu>
> Date: Sat, 21 Feb 2004 12:58:40 -0600
>
> How to debug this?
Run Emacs under a debugger and when it gets SIGSEGV, look around to
see what went wrong. The file etc/DEBUG in the Emacs distro has
several hints on debugging Emacs.
> Here is the script I used
>
> #!/bin/sh
> MYEMACS=$1
> $MYEMACS --batch \
> --load ~/site-lisp/joes_loads.el \
> --execute "(dump-emacs \"femacs\" \"$MYEMACS\")"
Replace $MYEMACS with "gdb $MYEMACS --args", that will run Emacs
under GDB.