This is an automated email from Gerrit.

Christian Eggers (cegg...@gmx.de) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/1925

-- gerrit

commit 564f2302f280f94e320c6a43ca2a9a52991fa90e
Author: Christian Eggers <cegg...@gmx.de>
Date:   Mon Feb 3 21:12:49 2014 +0100

    gdb-server/rtos: Send correct answer to "qfThreadInfo" packet
    
    Even if no RTOS is configured, "qfThreadInfo" must be answered with "l"
    instead of "". Otherwise GDB will switch to the older thread packet ("qL"),
    which is not supported by OpenOCD.
    
    Change-Id: Iead045bdf8268bac2378c8f70829b17c37834e44
    Signed-off-by: Christian Eggers <cegg...@gmx.de>

diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c
index aadc467..1745ea2 100644
--- a/src/rtos/rtos.c
+++ b/src/rtos/rtos.c
@@ -344,7 +344,7 @@ int rtos_thread_packet(struct connection *connection, char 
*packet, int packet_s
                                free(out_str);
                        }
                } else
-                       gdb_put_packet(connection, "", 0);
+                       gdb_put_packet(connection, "l", 1);
 
                return ERROR_OK;
        } else if (strncmp(packet, "qsThreadInfo", 12) == 0) {

-- 

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to