gdb with Simulator

2003-08-04 Thread Khaki Wizard
Hi, 

It seems that the gdb in PRC-tools does not work with
the Palm OS 5 Simulator.
Anybody knows whether it should work or not?
SuggestionS?

Thanks,

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: gdb with Simulator

2003-08-04 Thread Chris Faherty
On Monday 04 August 2003 08:05 pm, Khaki Wizard wrote:
> It seems that the gdb in PRC-tools does not work with
> the Palm OS 5 Simulator.
> Anybody knows whether it should work or not?
> SuggestionS?

It works.  But the 'gdbS' feature is not set by default so you have to force 
a break.  There was a program called gdbpanel.prc which simply sets the 
feature, but it doesn't work so hot in OS 5.x.

So what I usually do is in my app:

FtrSet('gdbS', 0, 0x12BEEF34);

And then I run it twice.  Someone should write another gdbpanel which 
doesn't blow up in OS 5.x.

-- 
/* Chris Faherty <[EMAIL PROTECTED]> */

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: gdb with Simulator

2003-08-05 Thread Ton van Overbeek
Chris Faherty <[EMAIL PROTECTED]> wrote:
> 
> On Monday 04 August 2003 08:05 pm, Khaki Wizard wrote:
>> It seems that the gdb in PRC-tools does not work with
>> the Palm OS 5 Simulator.
>> Anybody knows whether it should work or not?
>> SuggestionS?
> 
> It works.  But the 'gdbS' feature is not set by default so you have to force 
> a break.  There was a program called gdbpanel.prc which simply sets the 
> feature, but it doesn't work so hot in OS 5.x.
> 
> So what I usually do is in my app:
> 
> FtrSet('gdbS', 0, 0x12BEEF34);
> 
> And then I run it twice.  Someone should write another gdbpanel which 
> doesn't blow up in OS 5.x.
> 

Which version of gdbpanel are you using ? Version 0.2.1 which was released 
in May 2002 does not blow up on 5.x devices. Check the sample code on the
prc-tools download page at 
http://sourceforge.net/project/showfiles.php?group_id=4429

Ton van Overbeek

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/