This is an automated email from Gerrit.

Han Hartgers ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/5239

-- gerrit

commit 82f1a627cdbc2591c682d0de35ea9e13e88c4c44
Author: Han Hartgers <[email protected]>
Date:   Mon Jun 17 20:39:31 2019 +0200

    topic: dsp563xx restore reg support
    
    Added "exist=true" field to the reg_list struct to make access to the 
dsp563xx registers again possible.
    Without it defaults to exist=false and all the reg related functions will 
return nothing.
    
    Change-Id: I9c256346735b8d66919c4ba83f528a8afca46ff9
    Signed-off-by: Han Hartgers <[email protected]>

diff --git a/src/target/dsp563xx.c b/src/target/dsp563xx.c
index ef7a31a..6a5c868 100644
--- a/src/target/dsp563xx.c
+++ b/src/target/dsp563xx.c
@@ -475,6 +475,7 @@ static void dsp563xx_build_reg_cache(struct target *target)
                reg_list[i].value = calloc(1, 4);
                reg_list[i].dirty = false;
                reg_list[i].valid = false;
+               reg_list[i].exist = true;
                reg_list[i].type = &dsp563xx_reg_type;
                reg_list[i].arch_info = &arch_info[i];
        }

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to