From 261f99bdac9a995f8b2740b7ae52c8ad81001132 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 2 Aug 2007 15:00:07 +0000 Subject: 2007-08-02 Joel Sherrill * configure.ac, wrapup/Makefile.am: Remove RDBG. * aclocal/check-rdbg.m4, aclocal/enable-rdbg.m4, librdbg/.cvsignore, librdbg/Makefile.am, librdbg/preinstall.am, librdbg/include/rdbg/rdbg.h, librdbg/include/rdbg/servrpc.h, librdbg/include/rdbg/i386/rdbg_f.h, librdbg/include/rdbg/i386/reg.h, librdbg/include/rdbg/m68k/rdbg_f.h, librdbg/include/rdbg/m68k/reg.h, librdbg/include/rdbg/powerpc/rdbg_f.h, librdbg/include/rdbg/powerpc/reg.h, librdbg/src/_servtgt.c, librdbg/src/awk.svc, librdbg/src/excep.c, librdbg/src/ptrace.c, librdbg/src/rdbg.c, librdbg/src/remdeb.x, librdbg/src/servbkpt.c, librdbg/src/servcon.c, librdbg/src/servrpc.c, librdbg/src/servtgt.c, librdbg/src/servtsp.c, librdbg/src/servutil.c, librdbg/src/i386/excep_f.c, librdbg/src/i386/rdbg_cpu_asm.S, librdbg/src/i386/rdbg_f.c, librdbg/src/i386/any/remdeb.h, librdbg/src/i386/any/remdeb_f.x, librdbg/src/i386/any/remdeb_svc.c, librdbg/src/i386/any/remdeb_xdr.c, librdbg/src/m68k/excep_f.c, librdbg/src/m68k/rdbg_cpu_asm.S, librdbg/src/m68k/rdbg_f.c, librdbg/src/m68k/any/remdeb.h, librdbg/src/m68k/any/remdeb_f.x, librdbg/src/m68k/any/remdeb_svc.c, librdbg/src/m68k/any/remdeb_xdr.c, librdbg/src/powerpc/excep_f.c, librdbg/src/powerpc/rdbg_cpu_asm.S, librdbg/src/powerpc/rdbg_f.c, librdbg/src/powerpc/new_exception_processing/remdeb.h, librdbg/src/powerpc/new_exception_processing/remdeb_f.x, librdbg/src/powerpc/new_exception_processing/remdeb_svc.c, librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c: Removed. --- c/src/librdbg/src/awk.svc | 65 ----------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 c/src/librdbg/src/awk.svc (limited to 'c/src/librdbg/src/awk.svc') diff --git a/c/src/librdbg/src/awk.svc b/c/src/librdbg/src/awk.svc deleted file mode 100644 index 61e0bf68a2..0000000000 --- a/c/src/librdbg/src/awk.svc +++ /dev/null @@ -1,65 +0,0 @@ -######################################################################### -# -# Component: RDBG -# Module: awk.svc -# -# Synopsis: AWK script which transforms the server skeleton produced -# by rpcgen(1) into something suitable for RDB servers. -# -######################################################################### -# -# $Id$ -# -BEGIN { - headerstarted = 0 - withinproc = 0 - brack = 0 -} - -$1 ~ /^\/\*HEADER_START\*\/$/ { - headerstarted = 1 - printf("#include \n"); - printf("#include \n"); - printf("#include \n"); - printf("#include \n"); - printf("#include \n"); - printf("#include \n"); - printf("#include \n"); - printf("#include \n", THEPROG); - printf("#define fprintf(a,b,c) printf(b,c)\n"); -} - -$1 ~ /^\/\*HEADER_END\*\/$/ { - headerstarted = 0 -} - -{ - if (headerstarted == 1) { - print $0 - } else if ($1 ~ /.*_2.*/) { - withinproc = 1 - printf("void\n"); - print $0 - } else if (withinproc == 1) { - if ($1 == "switch") { - print "\tDPRINTF ((\"remotedeb_2: %s (%d)\\n\", " - print "\t\t(unsigned) rqstp->rq_proc < " - print "\t\t(unsigned) (sizeof names / sizeof names[0]) ?" - print "\t\tnames [rqstp->rq_proc] : \"???\", " - print "\t\t(int) rqstp->rq_proc));\n" - } - for (i = 1; i <= NF; i++) { - if ($i == "{") { - brack++; - } else if ($i == "}") { - brack--; - if (brack == 0) { - withinproc = 0; - } - } - } - if ($1 != "_rpcsvcdirty" ) { - print $0 - } - } -} -- cgit v1.2.3