librdbg patch

Till Straumann strauman at SLAC.Stanford.EDU
Tue Mar 19 21:33:20 UTC 2002


Hi

I found that

librdbg/src/powerpc/new_exception_processing/remdeb_svc.c

was not made correctly (ss-20020301):

- Makefile had SED not set
- extra semicolon in Makefile.am

The attached patch fixes these issues.

Regards

-- Till
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /afs/slac/g/spear/cvsrep/rtems/src/c/src/librdbg/configure.ac,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 configure.ac
*** configure.ac	2001/12/14 22:54:16	1.1.1.1
--- configure.ac	2002/03/19 20:54:55
***************
*** 27,32 ****
--- 27,33 ----
  
  AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen,no)
  AC_PROG_AWK
+ AC_CHECK_PROG(SED,sed,sed,no)
  
  if test "$RPCGEN" = "no"; then
    AC_MSG_WARN([** missing rpcgen, required to build librdbg **])
***************
*** 34,39 ****
--- 35,44 ----
  fi
  if test "$AWK" = "no"; then
    AC_MSG_WARN([** missing awk, required to build librdbg **])
+   rpctools="no"
+ fi
+ if test "$SED" = "no"; then
+   AC_MSG_WARN([** missing sed, required to build librdbg **])
    rpctools="no"
  fi
  
Index: src/powerpc/new_exception_processing/.cvsignore
===================================================================
RCS file: /afs/slac/g/spear/cvsrep/rtems/src/c/src/librdbg/src/powerpc/new_exception_processing/.cvsignore,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 .cvsignore
*** src/powerpc/new_exception_processing/.cvsignore	2001/12/14 22:54:21	1.1.1.1
--- src/powerpc/new_exception_processing/.cvsignore	2002/03/19 21:26:14
***************
*** 1,2 ****
--- 1,4 ----
  Makefile
  Makefile.in
+ remdeb_svc.c
+ remdeb_xdr.c
Index: src/powerpc/new_exception_processing/Makefile.am
===================================================================
RCS file: /afs/slac/g/spear/cvsrep/rtems/src/c/src/librdbg/src/powerpc/new_exception_processing/Makefile.am,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 Makefile.am
*** src/powerpc/new_exception_processing/Makefile.am	2002/03/07 01:55:09	1.1.1.2
--- src/powerpc/new_exception_processing/Makefile.am	2002/03/19 20:50:18
***************
*** 71,77 ****
  	  -o powerpc/new_exception_processing/tmpSvc.c remdeb.x; \
  	$(AWK) -f ./awk.svc THEPROG="remdeb.h" powerpc/new_exception_processing/tmpSvc.c \
  	  > powerpc/new_exception_processing/remdeb_svc.c; \
! 	$(SED) -e 's/fprintf.*,/printf(/'  powerpc/new_exception_processing/remdeb_svc.c; > powerpc/new_exception_processing/remdeb_svc.tmp; \
  	mv powerpc/new_exception_processing/remdeb_svc.tmp powerpc/new_exception_processing/remdeb_svc.c; \
  	rm -f powerpc/new_exception_processing/tmpSvc.c )
  endif
--- 71,77 ----
  	  -o powerpc/new_exception_processing/tmpSvc.c remdeb.x; \
  	$(AWK) -f ./awk.svc THEPROG="remdeb.h" powerpc/new_exception_processing/tmpSvc.c \
  	  > powerpc/new_exception_processing/remdeb_svc.c; \
! 	$(SED) -e 's/fprintf.*,/printf(/'  powerpc/new_exception_processing/remdeb_svc.c > powerpc/new_exception_processing/remdeb_svc.tmp; \
  	mv powerpc/new_exception_processing/remdeb_svc.tmp powerpc/new_exception_processing/remdeb_svc.c; \
  	rm -f powerpc/new_exception_processing/tmpSvc.c )
  endif


More information about the users mailing list