From 001b41625e461404288c2e3ec7821992c06233ef Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 3 Sep 2008 18:37:51 +0000 Subject: 2008-09-03 Joel Sherrill * Makefile.am, configure.ac: Rework psim scripts to share code for creating device trees and actually running the tests. Overhaul the device tree generated to always include a block of Flash and a Real-Time Clock. When running MP tests enable the shared memory and semaphore devices. * psim-bottom, psim-gdb-bottom, psim-gdb-top.in, psim-shared, psim-top.in, runtest-bottom, runtest-top.in: New files. * psim, psim-gdb, runtest: Removed. --- c/src/lib/libbsp/powerpc/psim/tools/psim-gdb | 42 ---------------------------- 1 file changed, 42 deletions(-) delete mode 100755 c/src/lib/libbsp/powerpc/psim/tools/psim-gdb (limited to 'c/src/lib/libbsp/powerpc/psim/tools/psim-gdb') diff --git a/c/src/lib/libbsp/powerpc/psim/tools/psim-gdb b/c/src/lib/libbsp/powerpc/psim/tools/psim-gdb deleted file mode 100755 index e697ad9420..0000000000 --- a/c/src/lib/libbsp/powerpc/psim/tools/psim-gdb +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/sh -# -# Shell script to ease invocation of the powerpc simulator -# -# COPYRIGHT (c) 1989-2006. -# On-Line Applications Research Corporation (OAR). -# -# The license and distribution terms for this file may be -# found in found in the file LICENSE in this distribution or at -# http://www.rtems.com/license/LICENSE. -# -# $Id$ -# - -TREE_FILE=psim_tree.${LOGNAME} -GDB_FILE=gdb_tree.${LOGNAME} - -# Build this user's device tree file -echo "/#address-cells 2" > ${TREE_FILE} -echo "/openprom/init/register/pvr 0xfffe0000" >> ${TREE_FILE} -echo "/openprom/options/oea-memory-size 8388608" >> ${TREE_FILE} - -# These require the semaphore and shared memory device models. -# echo "/shm@0xc0000000/reg 0xc0000000 0x10000" >> ${TREE_FILE} -# echo "/shm@0xc0000000/key ${RTEMS_SHM_KEY}" >> ${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} - -GDB=powerpc-rtems4.9-gdb - -${GDB} -x ${GDB_FILE} $* - -exit $? - -- cgit v1.2.3