Mercurial > hg > xemacs-beta
view lib-src/installexe.sh @ 4643:e9ccbc62f7e7
Don't rely on GDB understanding the Lisp_Type_{Record,Char} enums, gdbinit.in
2009-06-14 Aidan Kehoe <kehoea@parhasard.net>
* gdbinit.in:
Supply variables for the Lisp_Type_Record, Lisp_Type_Char
type information, for the sake of various versions of GDB that
can't take them from the enum vals in the executable. Use those
variables instead of the enums.
| author | Aidan Kehoe <kehoea@parhasard.net> |
|---|---|
| date | Sun, 14 Jun 2009 16:08:22 +0100 |
| parents | 3ee1c468b215 |
| children | 8a653fbe5c27 |
line wrap: on
line source
#!bash install_prog=$1 shift tstr="" while [[ $# -gt 0 ]] do if [[ -f $1.exe ]] then if [[ "$2" == *.exe ]] then tstr="$tstr$1 $2" else tstr="$tstr$1.exe $2.exe" fi shift 2 else tstr="$tstr$1 " fi shift done echo "$install_prog $tstr" eval "$install_prog $tstr" exit
