Code Search for Developers
 
 
  

pregen-configs.in from Gdb at Krugle


Show pregen-configs.in syntax highlighted

#! /bin/sh 
#
# Generate some sid configuration files ahead of time.
#
# Calling convention
# - cwd is in build tree, with usable ../configrun-sid

# snarf autoconf variables 
srcdir="@srcdir@"

if [ ! -x ../configrun-sid ]; then
    echo "Call `basename $0` from BUILD/sid/bsp/pregen!"
    exit 1
fi


crs () {
    ../configrun-sid $@ >/dev/null
}

mvic() {
    if [ ! -f $1 ]; then
	echo "$1 does not exist!" 1>&2
	exit 1
    elif [ ! -f $srcdir/$2 ]; then
	mv -f $1 $srcdir/$2
        echo "$2 created."
    else
	sum1=`cat $1 | grep -v "^#" | sum`
	sum2=`cat $srcdir/$2 | grep -v "^#" | sum`
	if [ "$sum1" != "$sum2" ]; then
	    mv -f $1 $srcdir/$2
	    echo "$2 updated."
	fi
    fi
    rm -f $1
}

crs --cpu=arm --no-run --gdb=5000 -EL
mvic sid.conf arm-gloss.conf

crs --cpu=arm --no-run --gdb=5000 -EL --tksm
mvic sid.conf arm-gloss-tksm.conf

crs --cpu=arm --no-run --gdb=5000 -EB
mvic sid.conf arm-glossBE.conf

crs --cpu=arm --no-run --gdb=5000 --board=pid7t-uart1:gdb -EL
mvic sid.conf arm-pid.conf

crs --cpu=arm --no-run --gdb=5000 --board=pid7t-uart1:gdb -EL --tksm
mvic sid.conf arm-pid-tksm.conf

crs --cpu=arm --no-run --gdb=5000 --board=pid7t-uart1:gdb -EB
mvic sid.conf arm-pidBE.conf

crs --cpu=arm --no-run --board=pid7t-redboot-uart1:5000 -EL
mvic sid.conf arm-pid-redboot.conf

crs --cpu=arm --no-run --board=pid7t-redboot-uart1:5000 -EL --tksm
mvic sid.conf arm-pid-redboot-tksm.conf

crs --cpu=arm --no-run --gdb=5000 --board=cma110:cma222-uart1:gdb -EL
mvic sid.conf arm-cma.conf

crs --cpu=arm --no-run --gdb=5000 --board=cma110:cma222-uart1:gdb -EL --tksm
mvic sid.conf arm-cma-tksm.conf

crs --cpu=x86 --no-run a.out
mvic a.out.conf i386-gloss.conf

crs --cpu=x86 --no-run --gdb=5000
mvic sid.conf i386-gdb.conf

crs --cpu=mt --no-run a.out
mvic a.out.conf mt-gloss.conf

crs --cpu=mt --no-run --gdb=5000
mvic sid.conf mt-gdb.conf

crs --cpu=sh5 --no-run a.out
mvic a.out.conf sh5-gloss.conf

crs --cpu=sh5 --no-run --gdb=5000
mvic sid.conf sh5-gdb.conf

crs --cpu=xstormy16 --no-run a.out
mvic a.out.conf xstormy16-gloss.conf

crs --cpu=xstormy16 --no-run --gdb=5000
mvic sid.conf xstormy16-gdb.conf

crs --cpu=xstormy16 --no-run --gdb=5000 --board=gloss-tty
mvic sid.conf xstormy16-gloss-gdb.conf

crs --cpu=xstormy16 --no-run --gdb=5000 --tksm
mvic sid.conf xstormy16-gloss-gdb-tksm.conf




See more files for this project here

Gdb

GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed.

Project homepage: http://sources.redhat.com/gdb/
Programming language(s): Assembly,C,C++,Expect
License: other

  ChangeLog
  Makefile.am
  Makefile.in
  arm-cma-tksm.conf
  arm-cma.conf
  arm-gloss-tksm.conf
  arm-gloss.conf
  arm-glossBE.conf
  arm-pid-redboot-tksm.conf
  arm-pid-redboot.conf
  arm-pid-tksm.conf
  arm-pid.conf
  arm-pidBE.conf
  armpid-cygmon.img
  armpid-eCos.img
  armpid-redboot.img
  i386-gdb.conf
  i386-gloss.conf
  mt-gdb.conf
  mt-gloss.conf
  pregen-configs.in
  xstormy16-gdb.conf
  xstormy16-gloss-gdb-tksm.conf
  xstormy16-gloss-gdb.conf
  xstormy16-gloss.conf