bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] pickup symbols in #if line (ASM)


From: Hideki IWAMOTO
Subject: [PATCH] pickup symbols in #if line (ASM)
Date: Wed, 02 Apr 2008 02:37:53 +0900

This patch makes gtags-parser pick up symbols in #{if,elif,ifdef,ifndef}
line in assembly source. 

 gtags-parser/asm_parse.y |   28 +++++++++--------------
 gtags-parser/asm_scan.l  |   57 ++++++++++++++++++++++++++++++++++++++++++-----
 gtags/gtags.c            |    4 ---
 gtags/manual.in          |    2 -
 4 files changed, 63 insertions(+), 28 deletions(-)

==== Current CVS version ====
[linux-2.6.25-rc7]$ global -sx CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2  230 arch/mn10300/kernel/process.c #ifdef 
CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2   19 include/asm-mn10300/current.h #ifdef 
CONFIG_MN10300_CURRENT_IN_E2

==== Patched version ====
[linux-2.6.25-rc7]$ global -sx CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2  200 arch/mn10300/kernel/head.S #ifdef 
CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2  230 arch/mn10300/kernel/process.c #ifdef 
CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2   57 arch/mn10300/kernel/switch_to.S #ifdef 
CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2   19 arch/mn10300/kernel/vmlinux.lds.S #ifndef 
CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2   19 include/asm-mn10300/current.h #ifdef 
CONFIG_MN10300_CURRENT_IN_E2

----
Hideki IWAMOTO  address@hidden

Attachment: pickup-symbols-in-ifdef-line.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]