Ah - those are in gdb_server.c 
Yes, you could have checks of target->rtos in the gdb_server file wherever an 
rtos function is called, however I think you'll find that already happens 
within the rtos functions themselves. I have no preference as to where the 
check occurs.

Evan



-----Original Message-----
From: Øyvind Harboe [mailto:oyvind.har...@zylin.com] 
Sent: Tuesday, 12 April 2011 3:20 PM
To: Evan Hunter
Cc: openocd-development@lists.berlios.de
Subject: Re: [Openocd-development] RTOS Thread awareness patch

On Tue, Apr 12, 2011 at 5:59 AM, Evan Hunter <ehun...@broadcom.com> wrote:
> I'm not sure what you mean - when there is no "-rtos" parameter, the
> only modified code in target.c that will be run is the initialization of
> the rtos variables:

I thought some extra packet types were handled differently as well?



-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to