This is an automated email from Gerrit.

"Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7395

-- gerrit

commit 13ee496e543f0ce50cc1c4a1f206c748ffd9985d
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Sun Dec 11 11:08:32 2022 +0100

    driver: vdebug: fix mode of cmd 'vdebug mem_path'
    
    The command 'vdebug mem_path' is reported in the documentation as
    '{Config Command}', but the code sets mode = COMMAND_ANY.
    The code of the commands sets some value that is only used during
    the init phase, so the documentation is correct.
    
    Change mode of command 'vdebug mem_path' to COMMAND_CONFIG.
    
    Change-Id: Icb940fe382cbc75015273b35dcc8a88fc2a7d0ac
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/src/jtag/drivers/vdebug.c b/src/jtag/drivers/vdebug.c
index ef7a49332c..7898e9d9b7 100644
--- a/src/jtag/drivers/vdebug.c
+++ b/src/jtag/drivers/vdebug.c
@@ -1246,7 +1246,7 @@ static const struct command_registration 
vdebug_command_handlers[] = {
        {
                .name = "mem_path",
                .handler = &vdebug_set_mem,
-               .mode = COMMAND_ANY,
+               .mode = COMMAND_CONFIG,
                .help = "set the design memory for the code load",
                .usage = "<path> <base_address> <size>",
        },

-- 

Reply via email to