This is an automated email from Gerrit.

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

-- gerrit

commit a5d7c20656d8f27a0f686b468e0ca0a5d3900f94
Author: Spencer Oliver <[email protected]>
Date:   Wed Jul 17 15:24:29 2013 +0100

    rtos: issue warning on auto detect failure
    
    Currently if we fail to auto detect an rtos then no warning is given.
    This can also be triggered if we only find some of the rtos symbols.
    
    Change-Id: I215991bbce0909bc6af93560b0f55db13defd123
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c
index 90763c2..11cb792 100644
--- a/src/rtos/rtos.c
+++ b/src/rtos/rtos.c
@@ -212,8 +212,10 @@ int rtos_qsymbol(struct connection *connection, char 
*packet, int packet_size)
                        goto done;
                } else {
                        /* Autodetecting RTOS - try next RTOS */
-                       if (!rtos_try_next(target))
+                       if (!rtos_try_next(target)) {
+                               LOG_WARNING("No RTOS could be auto-detected!");
                                goto done;
+                       }
 
                        /* Next RTOS selected - invalidate current symbol */
                        cur_sym[0] = '\x00';

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to