List Info

Thread: restart for remote target




restart for remote target
user name
2006-07-25 15:42:14
Hi all,

I need an restart command for remote target. Set Program
Counter to i.e. 
0 is not an
option because interrupts.
I implemented it as user-defined command but all breakpoints
must be 
delete before load.
After load all breakpoints are lost.
Is it possible to save breakpoint data in order restore it
after 
application reload?

Thanks

libxml + unicode
user name
2006-07-25 15:14:03
Hi,
 
I'm trying to print some characters that were saved in a unicode format (some special french accent characters). I was hoping the following would work but I just get strange characters printed:

   ; xmlChar *key = xmlNodeListGetString(doc, curNode->xmlChildrenNode, 1);
   ; wprintf(L"Node text is: [%s]\n", key);
    xmlFree(key);

My xml document looks like this:

<?xml version="1.0" encoding="UTF-8" ?>
&nbsp; &nbsp; &nbsp; &nbsp;  <test&gt;woo: Ç Ç Ç</test>

What do I have to do to get those special characters to be printed correctly? In fact, now when I save my XML document as type UTF-8, even the ascii characters don't print correctly. (printing ASCI chars when saved in ASCI format works fine).

Thanks,

Mark

restart for remote target
user name
2006-07-25 15:45:43
On Tue, Jul 25, 2006 at 05:42:14PM +0200, Efim Monyak wrote:
> Hi all,
> 
> I need an restart command for remote target. Set
Program Counter to i.e. 
> 0 is not an
> option because interrupts.
> I implemented it as user-defined command but all
breakpoints must be 
> delete before load.
> After load all breakpoints are lost.
> Is it possible to save breakpoint data in order restore
it after 
> application reload?

Sorry, but your explanation omits too much; we need more
information.
Load should not remove breakpoints.

Would it help you to connect using 'target
extended-remote', and then
use "run" to restart the target?  That sends an
'R' packet to the stub,
which can do whatever it needs to.

-- 
Daniel Jacobowitz
CodeSourcery
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )