gdb-cvs-checkout: Rename: .../.bashrc: line ...: `gdb-cvs-checkout': not a valid...
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 9012b77..26afe36 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -309,6 +309,15 @@ function pidof
     pidof "$@"
   fi
 )}
+function sumlog { find "$@" ! -name config.log -name "*.log" -o -name "*.sum"; }
+function gdbcvscheckout {(set -ex
+       test -d cvs || test -d gdb-cvs || (set +x;cvs -z3 -d :pserver:anoncvs:@sourceware.org:/cvs/src checkout gdb)
+       mv src gdb-cvs
+       cd gdb-cvs
+       (set +x;cvs update)
+       #(set +x;cvsignoresall)
+       (set +x;ignoresall)
+       );}
 
 ulimit -S -c 0
 set +H