Changeset 8ebb308 in rtems-testing


Ignore:
Timestamp:
Aug 12, 2009, 2:21:21 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
e6cc2b7
Parents:
aeb8e90
Message:

2009-08-12 Joel Sherrill <joel.sherrill@…>

  • VERSIONS-COVERAGE, do_coverage, rtems-cvs-20090806.diff: Switch to --enable-coverage and building rtems_coverage.o
  • rtems-cvs-20090811.diff: New file.
Location:
rtems-coverage
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • rtems-coverage/ChangeLog

    raeb8e90 r8ebb308  
     12009-08-12      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * VERSIONS-COVERAGE, do_coverage, rtems-cvs-20090806.diff: Switch to
     4        --enable-coverage and building rtems_coverage.o
     5        * rtems-cvs-20090811.diff: New file.
     6
    172009-08-06      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • rtems-coverage/VERSIONS-COVERAGE

    raeb8e90 r8ebb308  
    1515#       as well. :( We really need the first symbol AFTER it but
    1616#       things are not setup to make that reliable.
    17 lowsym=rtems_build_id
    18 #highsym=sysconf
    19 highsym=end_of_profiling
     17lowsym=start_coverage
     18highsym=end_coverage
    2019
    2120# Calculated
  • rtems-coverage/do_coverage

    raeb8e90 r8ebb308  
    136136    COVERAGE_FORMAT=TSIM
    137137    ;;
    138   edb7312|rtl22xx|gumstix)
     138  edb7312|rtl22xx|gumstix|smdk2410)
    139139    CPU=arm
    140140    COVERAGE_FORMAT=Skyeye
     
    176176fi
    177177
    178 grep ENABLE_COVERAGE ${RTEMSDIR}/c/src/make/leaf.cfg >/dev/null
     178grep _COVERAGE ${RTEMSDIR}/c/src/make/leaf.cfg >/dev/null
    179179if [ $? -ne 0 ] ; then
    180180  echo "It doesn't look like you patched the RTEMS source for coverage."
     
    260260    --target=${TARGET} --enable-rtemsbsp=${BSP} \
    261261    --enable-maintainer-mode \
     262    --enable-coverage \
    262263    --disable-itron --${posix_en}able-posix --enable-tests \
    263264    --disable-tcpip --disable-ada --disable-cxx \
    264     --prefix=${BASE}/coverage/install >c.log 2>&1
     265    --prefix=${BASEDIR}/coverage/install >c.log 2>&1
    265266  check_status $? "configuring RTEMS for ${BSP}"
    266267else
  • rtems-coverage/rtems-cvs-20090806.diff

    raeb8e90 r8ebb308  
    11? cpukit/score/src/he1.diff
     2Index: cpukit/libcsupport/Makefile.am
     3===================================================================
     4RCS file: /usr1/CVS/rtems/cpukit/libcsupport/Makefile.am,v
     5retrieving revision 1.105
     6diff -u -r1.105 Makefile.am
     7--- cpukit/libcsupport/Makefile.am      6 Aug 2009 20:37:32 -0000       1.105
     8+++ cpukit/libcsupport/Makefile.am      6 Aug 2009 22:23:14 -0000
     9@@ -113,6 +113,8 @@
     10     $(BSD_LIBC_C_FILES) $(BASE_FS_C_FILES) $(MALLOC_C_FILES) \
     11     $(ERROR_C_FILES) $(ASSOCIATION_C_FILES)
     12 
     13+libcsupport_a_SOURCES += src/end_profile.c
     14+
     15 if UNIX
     16 libcsupport_a_SOURCES += src/unixlibc.c src/unixlibc_io.c src/hosterr.c
     17 else
    218Index: cpukit/posix/Makefile.am
    319===================================================================
     
    622diff -u -r1.67 Makefile.am
    723--- cpukit/posix/Makefile.am    6 Aug 2009 21:45:28 -0000       1.67
    8 +++ cpukit/posix/Makefile.am    6 Aug 2009 21:48:51 -0000
     24+++ cpukit/posix/Makefile.am    6 Aug 2009 22:23:14 -0000
    925@@ -1,5 +1,5 @@
    1026 ##
     
    2844diff -u -r1.47 Makefile.am
    2945--- cpukit/rtems/Makefile.am    6 Aug 2009 20:38:00 -0000       1.47
    30 +++ cpukit/rtems/Makefile.am    6 Aug 2009 21:48:51 -0000
     46+++ cpukit/rtems/Makefile.am    6 Aug 2009 22:23:14 -0000
    3147@@ -7,6 +7,7 @@
    3248 
     
    4359diff -u -r1.37 Makefile.am
    4460--- cpukit/sapi/Makefile.am     6 Aug 2009 20:38:24 -0000       1.37
    45 +++ cpukit/sapi/Makefile.am     6 Aug 2009 21:48:51 -0000
     61+++ cpukit/sapi/Makefile.am     6 Aug 2009 22:23:14 -0000
    4662@@ -21,6 +21,7 @@
    4763 AM_CPPFLAGS += -D__RTEMS_INSIDE__
     
    5874diff -u -r1.71 Makefile.am
    5975--- cpukit/score/Makefile.am    6 Aug 2009 20:39:27 -0000       1.71
    60 +++ cpukit/score/Makefile.am    6 Aug 2009 21:48:51 -0000
     76+++ cpukit/score/Makefile.am    6 Aug 2009 22:23:14 -0000
    6177@@ -73,6 +73,7 @@
    6278 
     
    7389diff -u -r1.11 leaf.cfg
    7490--- c/src/make/leaf.cfg 15 Apr 2009 08:31:09 -0000      1.11
    75 +++ c/src/make/leaf.cfg 6 Aug 2009 21:48:51 -0000
     91+++ c/src/make/leaf.cfg 6 Aug 2009 22:23:14 -0000
    7692@@ -41,8 +41,9 @@
    7793 # Create a RTEMS executable based on MANAGERS which was set in
     
    120136diff -u -r1.7 target.cfg.in
    121137--- c/src/make/target.cfg.in    4 Aug 2007 05:45:16 -0000       1.7
    122 +++ c/src/make/target.cfg.in    6 Aug 2009 21:48:51 -0000
     138+++ c/src/make/target.cfg.in    6 Aug 2009 22:23:14 -0000
    123139@@ -55,6 +55,7 @@
    124140 # Create a RTEMS executable based on MANAGERS which was set in
     
    137153diff -u -r1.24 leaf.cfg
    138154--- make/leaf.cfg       15 Sep 2008 17:43:22 -0000      1.24
    139 +++ make/leaf.cfg       6 Aug 2009 21:48:51 -0000
     155+++ make/leaf.cfg       6 Aug 2009 22:23:14 -0000
    140156@@ -116,14 +116,28 @@
    141157 
     
    175191diff -u -r1.14 gcc-no_bsp.cfg
    176192--- make/compilers/gcc-no_bsp.cfg       18 Sep 2008 17:33:55 -0000      1.14
    177 +++ make/compilers/gcc-no_bsp.cfg       6 Aug 2009 21:48:51 -0000
     193+++ make/compilers/gcc-no_bsp.cfg       6 Aug 2009 22:23:14 -0000
    178194@@ -201,8 +201,9 @@
    179195 
     
    194210diff -u -r1.8 edb7312.cfg
    195211--- make/custom/edb7312.cfg     6 Mar 2008 21:51:00 -0000       1.8
    196 +++ make/custom/edb7312.cfg     6 Aug 2009 21:48:51 -0000
     212+++ make/custom/edb7312.cfg     6 Aug 2009 22:23:14 -0000
    197213@@ -18,4 +18,6 @@
    198214 CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -mstructure-size-boundary=8
     
    209225diff -u -r1.37 erc32.cfg
    210226--- make/custom/erc32.cfg       1 Oct 2008 13:19:51 -0000       1.37
    211 +++ make/custom/erc32.cfg       6 Aug 2009 21:48:51 -0000
     227+++ make/custom/erc32.cfg       6 Aug 2009 22:23:14 -0000
    212228@@ -18,4 +18,6 @@
    213229 CPU_CFLAGS = -mcpu=cypress
     
    224240diff -u -r1.1 gumstix.cfg
    225241--- make/custom/gumstix.cfg     4 Jun 2009 16:33:04 -0000       1.1
    226 +++ make/custom/gumstix.cfg     6 Aug 2009 21:48:51 -0000
     242+++ make/custom/gumstix.cfg     6 Aug 2009 22:23:14 -0000
    227243@@ -17,4 +17,6 @@
    228244 CPU_CFLAGS = -mcpu=xscale -mstructure-size-boundary=8
     
    239255diff -u -r1.14 leon2.cfg
    240256--- make/custom/leon2.cfg       6 Mar 2008 21:51:01 -0000       1.14
    241 +++ make/custom/leon2.cfg       6 Aug 2009 21:48:51 -0000
     257+++ make/custom/leon2.cfg       6 Aug 2009 22:23:14 -0000
    242258@@ -16,4 +16,6 @@
    243259 CPU_CFLAGS = -mcpu=cypress -msoft-float
     
    254270diff -u -r1.9 leon3.cfg
    255271--- make/custom/leon3.cfg       6 Mar 2008 21:51:01 -0000       1.9
    256 +++ make/custom/leon3.cfg       6 Aug 2009 21:48:51 -0000
     272+++ make/custom/leon3.cfg       6 Aug 2009 22:23:14 -0000
    257273@@ -18,4 +18,6 @@
    258274 CPU_CFLAGS = -mcpu=cypress -msoft-float
     
    269285diff -u -r1.5 rtl22xx.cfg
    270286--- make/custom/rtl22xx.cfg     6 Mar 2008 21:51:01 -0000       1.5
    271 +++ make/custom/rtl22xx.cfg     6 Aug 2009 21:48:51 -0000
     287+++ make/custom/rtl22xx.cfg     6 Aug 2009 22:23:14 -0000
    272288@@ -22,3 +22,5 @@
    273289 # NOTE2: some level of -O may be actually required by inline assembler (at least
Note: See TracChangeset for help on using the changeset viewer.