Changeset 486f49a2 in rtems


Ignore:
Timestamp:
Dec 30, 2004, 8:22:02 PM (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f346774d
Parents:
3fcabb1
Message:

2004-12-30 Joel Sherrill <joel@…>

  • Makefile.am, psim: Split psim into two files.
  • psim-gdb: New file.
Location:
c/src/lib/libbsp/powerpc/psim/tools
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/psim/tools/ChangeLog

    r3fcabb1 r486f49a2  
     12004-12-30      Joel Sherrill <joel@OARcorp.com>
     2
     3        * Makefile.am, psim: Split psim into two files.
     4        * psim-gdb: New file.
     5
    162004-09-24      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • c/src/lib/libbsp/powerpc/psim/tools/Makefile.am

    r3fcabb1 r486f49a2  
    2323TMPINSTALL_FILES += $(PROJECT_ROOT)/@RTEMS_BSP@/tests/psim
    2424
    25 $(PROJECT_ROOT)/@RTEMS_BSP@/tests/psim-gdb: psim $(PROJECT_ROOT)/@RTEMS_BSP@/tests/$(dirstamp)
     25$(PROJECT_ROOT)/@RTEMS_BSP@/tests/psim-gdb: psim-gdb $(PROJECT_ROOT)/@RTEMS_BSP@/tests/$(dirstamp)
    2626        $(INSTALL_SCRIPT) $< $(PROJECT_ROOT)/@RTEMS_BSP@/tests/psim-gdb
    2727TMPINSTALL_FILES += $(PROJECT_ROOT)/@RTEMS_BSP@/tests/psim-gdb
  • c/src/lib/libbsp/powerpc/psim/tools/psim

    r3fcabb1 r486f49a2  
    33#  Shell script to ease invocation of the powerpc simulator
    44#
    5 #  COPYRIGHT (c) 1989-1999.
     5#  COPYRIGHT (c) 1989-2004.
    66#  On-Line Applications Research Corporation (OAR).
    77#
     
    1414
    1515TREE_FILE=psim_tree.${LOGNAME}
    16 GDB_FILE=gdb_tree.${LOGNAME}
    1716
    18 # GDB_DEBUG="-t sem-device"
    1917# RUN_DEBUG="-t sem_device"
    2018
     
    2927# echo "/sem@0xc0010000/key ${RTEMS_SHM_SEMAPHORE_KEY}" >> ${TREE_FILE}
    3028# echo "/sem@0xc0010000/value -1"                       >> ${TREE_FILE}
    31 #
    32 #  Build this user's gdb script
    33 echo "tar sim -f ${TREE_FILE} ${GDB_DEBUG}"           >  ${GDB_FILE}
    34 echo "load"                                           >> ${GDB_FILE}
    35 echo "b _Internal_error_Occurred"                     >> ${GDB_FILE}
    36 echo "b rtems_fatal_error_occurred"                   >> ${GDB_FILE}
    37 echo "b __assert"                                     >> ${GDB_FILE}
    3829
    3930RUN=powerpc-rtems4.7-run
    40 GDB=powerpc-rtems4.7-gdb
     31${RUN} -f ${TREE_FILE} ${RUN_DEBUG} $*
    4132
    42 case $0 in
    43    *gdb*)
    44      ${GDB} -x ${GDB_FILE} $*
    45      ;;
    46    *)
    47      # ${RUN} -f ${TREE_FILE} $*
    48      ${RUN} -f ${TREE_FILE} ${RUN_DEBUG} $*
    49      ;;
    50 esac
    5133exit $?
    5234
Note: See TracChangeset for help on using the changeset viewer.