This is an automated email from Gerrit.

Jim Norris (u17...@att.net) just uploaded a new patch set to Gerrit, which you 
can find at http://openocd.zylin.com/1441

-- gerrit

commit 4d642734e191d944e8a28540a0ca6fd939f71ba2
Author: Jim Norris <u17...@att.net>
Date:   Tue Jun 11 20:42:08 2013 -0500

    Change variable scope.
    
    Change scope of the variable gdb_reg_list_idx from global to module.
    
    Change-Id: Ib8273c0769c11c1d5a338e4711efbddb8e8a0243
    Signed-off-by: Jim Norris <u17...@att.net>

diff --git a/src/target/dsp563xx.c b/src/target/dsp563xx.c
index a121e8a..4dfb66e 100644
--- a/src/target/dsp563xx.c
+++ b/src/target/dsp563xx.c
@@ -304,7 +304,7 @@ enum memory_type {
        ((s & 1) << 16) | ((w & 1) << 15) | ((d & 0x3f) << 8) | (p & 0x3f))
 
 /* the gdb register list is send in this order */
-uint8_t gdb_reg_list_idx[] = {
+static uint8_t gdb_reg_list_idx[] = {
        DSP563XX_REG_IDX_X1, DSP563XX_REG_IDX_X0, DSP563XX_REG_IDX_Y1, 
DSP563XX_REG_IDX_Y0,
        DSP563XX_REG_IDX_A2, DSP563XX_REG_IDX_A1, DSP563XX_REG_IDX_A0, 
DSP563XX_REG_IDX_B2,
        DSP563XX_REG_IDX_B1, DSP563XX_REG_IDX_B0, DSP563XX_REG_IDX_PC, 
DSP563XX_REG_IDX_SR,

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to