[PATCH] enable fast symbol lookup via an inverted index in cscope

From: Louis Zhuang
Date: Wed Jan 28 2004 - 21:02:18 EST


Dear Andrew,
'-q' switch will accelerate cscope finding symbol dramatically. Please
apply following pacth if you like it.
--
Yours truly,
Louis Zhuang
--------------------------------------------------------------------------------
Software is a process, not a static entity. It is becoming, rather that being.
It can easily be bad, but never be perfect. Its essence is eternal refactoring.
- Inspired by Judge William H. Hastie

My words are my own...

--------------------------------------------------------------------------------
Fault Injection Test Harness Project
BK tree: http://fault-injection.bkbits.net/linux-2.5
Home Page: http://sf.net/projects/fault-injection

Open HPI Project
Home Page: http://sf.net/projects/openhpi


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1502 -> 1.1503
# Makefile 1.446 -> 1.447
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 04/01/29 louis@xxxxxxxxxxxxxxxxx 1.1503
# [CSCOPE] enable fast symbol lookup via an inverted index.
# --------------------------------------------
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile Thu Jan 29 08:26:24 2004
+++ b/Makefile Thu Jan 29 08:26:24 2004
@@ -829,7 +829,7 @@
cmd_cscope-file = $(all-sources) > cscope.files

quiet_cmd_cscope = MAKE cscope.out
- cmd_cscope = cscope -k -b
+ cmd_cscope = cscope -k -b -q

cscope: FORCE
$(call cmd,cscope-file)

Attachment: signature.asc
Description: This is a digitally signed message part