Rename _GdbStubIrqVectorTable to _irq_vector_table_with_gdb_stub

Updating global variable's name to follow a consistent naming convention.

Change accomplished with the following script:

   #!/bin/bash
   echo "Searching for ${1} to replace with ${2}"
   find ./ \( -name "*.[chs]" -o -name "sysgen.py" -o -name "*.kconf" -o -name "*.arch" \) \
            ! -path "./host/src/genIdt/*" \
            ! -path "*/outdir/*" | xargs sed -i 's/\b'${1}'\b/'${2}'/g';

Change-Id: I42d80495508656c8476b5538fbd4af7a7569e8d6
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-05-08 17:12:50 -05:00 committed by Anas Nashif
commit 2fae92685c
2 changed files with 3 additions and 3 deletions

View file

@ -45,7 +45,7 @@ typedef void (*vth)(void); /* Vector Table Handler */
#if defined(CONFIG_GDB_INFO) && !defined(CONFIG_SW_ISR_TABLE)
vth __gdb_stub_irq_vector_table _GdbStubIrqVectorTable[CONFIG_NUM_IRQS] = {
vth __gdb_stub_irq_vector_table _irq_vector_table_with_gdb_stub[CONFIG_NUM_IRQS] = {
[0 ...(CONFIG_NUM_IRQS - 1)] = _GdbStubIrqVectorTableEntry
};

View file

@ -33,13 +33,13 @@
# undefined symbols the linker must define
# Some compilers do not understand the EXTERN() linker language pseudo-function
# link in _GdbStubIrqVectorTable if CONFIG_GDB_INFO is enabled but
# link in _irq_vector_table_with_gdb_stub if CONFIG_GDB_INFO is enabled but
# CONFIG_SW_ISR_TABLE is *disabled*
iARCH_UNDEF_SYMS_GDB_INFO__y = y
iARCH_UNDEF_SYMS_SW_ISR_TABLE__ = n
iARCH_UNDEF_SYMS_GDB_INFO = ${iARCH_UNDEF_SYMS_GDB_INFO__${CONFIG_GDB_INFO}}
iARCH_UNDEF_SYMS_SW_ISR_TABLE = ${iARCH_UNDEF_SYMS_SW_ISR_TABLE__${CONFIG_SW_ISR_TABLE}}
iARCH_UNDEF_SYMS_GDB_STUBS_yn = _GdbStubIrqVectorTable
iARCH_UNDEF_SYMS_GDB_STUBS_yn = _irq_vector_table_with_gdb_stub
vARCH_UNDEF_SYMS = $(strip \
_irq_vector_table \