diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-12-30 20:22:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-12-30 20:22:02 +0000 |
commit | 486f49a293a9e8b6d58a1a3b8f8a59aca24804f1 (patch) | |
tree | 76b4059b263c1f396f54679bd705301d77ba2e2a /c/src/lib/libbsp/powerpc/psim/tools/psim | |
parent | Cosmetics. (diff) | |
download | rtems-486f49a293a9e8b6d58a1a3b8f8a59aca24804f1.tar.bz2 |
2004-12-30 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, psim: Split psim into two files.
* psim-gdb: New file.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/psim/tools/psim')
-rwxr-xr-x | c/src/lib/libbsp/powerpc/psim/tools/psim | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/tools/psim b/c/src/lib/libbsp/powerpc/psim/tools/psim index 99ca501e1b..ca9eebcba8 100755 --- a/c/src/lib/libbsp/powerpc/psim/tools/psim +++ b/c/src/lib/libbsp/powerpc/psim/tools/psim @@ -2,7 +2,7 @@ # # Shell script to ease invocation of the powerpc simulator # -# COPYRIGHT (c) 1989-1999. +# COPYRIGHT (c) 1989-2004. # On-Line Applications Research Corporation (OAR). # # The license and distribution terms for this file may be @@ -13,9 +13,7 @@ # TREE_FILE=psim_tree.${LOGNAME} -GDB_FILE=gdb_tree.${LOGNAME} -# GDB_DEBUG="-t sem-device" # RUN_DEBUG="-t sem_device" # Build this user's device tree file @@ -28,25 +26,9 @@ echo "/openprom/options/oea-memory-size 8388608" >> ${TREE_FILE} # echo "/sem@0xc0010000/reg 0xc0010000 12" >> ${TREE_FILE} # echo "/sem@0xc0010000/key ${RTEMS_SHM_SEMAPHORE_KEY}" >> ${TREE_FILE} # echo "/sem@0xc0010000/value -1" >> ${TREE_FILE} -# -# Build this user's gdb script -echo "tar sim -f ${TREE_FILE} ${GDB_DEBUG}" > ${GDB_FILE} -echo "load" >> ${GDB_FILE} -echo "b _Internal_error_Occurred" >> ${GDB_FILE} -echo "b rtems_fatal_error_occurred" >> ${GDB_FILE} -echo "b __assert" >> ${GDB_FILE} RUN=powerpc-rtems4.7-run -GDB=powerpc-rtems4.7-gdb +${RUN} -f ${TREE_FILE} ${RUN_DEBUG} $* -case $0 in - *gdb*) - ${GDB} -x ${GDB_FILE} $* - ;; - *) - # ${RUN} -f ${TREE_FILE} $* - ${RUN} -f ${TREE_FILE} ${RUN_DEBUG} $* - ;; -esac exit $? |