Re: Newbie gdb and Palm OS 5 Simulator debugging question

2008-01-27 Thread Jonathan Carse
Thanks for this thread, really helped me out of a jam with the Simulator. May I suggest adding this explanation to every Simulator readme (or should it be in Palm OS GDB documentation?). -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-com

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-07 Thread Ton van Overbeek
Ben Combee <[EMAIL PROTECTED]> wrote: > > >>What happens is that gdbpanel sets the 'gdbS' feature. The gdb startup >>code (when linked with -g) looks for this feature. If it is present it >>will break at PilotMain, if not the app will run normally. >>POSE sets this feature automatically, so you d

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-06 Thread John Marshall
On Thu, Mar 06, 2003 at 07:36:16AM -0800, Daryl Huff wrote: > Thanks, that did the trick. I went back and read the documentation at > http://prc-tools.sourceforge.net/doc/prc-tools_5.html#SEC29 and the > documentation there still looks to me like you only need to do this on > "real device". Yo

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-06 Thread John Marshall
On Thu, Mar 06, 2003 at 12:05:31PM -0600, Ben Combee wrote: > Ton, why doesn't GDB just use the RPC interface to call FtrSet to setup > thie 'gdbS' before it downloads the application to the device/emulator? Patches are welcome :-). But the better solution is to change GDB so that it is not depe

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-06 Thread Ben Combee
What happens is that gdbpanel sets the 'gdbS' feature. The gdb startup code (when linked with -g) looks for this feature. If it is present it will break at PilotMain, if not the app will run normally. POSE sets this feature automatically, so you do not need gdbpanel when debugging with POSE. When

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-06 Thread Daryl Huff
Ton van Overbeek wrote: Daryl Huff <[EMAIL PROTECTED]> wrote: I'm trying to debug my first Palm app using the PRC tools and I can't get gdb (m68k-palmos-gdb) to connect to the Palm OS 5 Simulator to debug my app. I carefully followed the instructions at http://prc-tools.sourceforge.net/insta

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-06 Thread Ton van Overbeek
Daryl Huff <[EMAIL PROTECTED]> wrote: > > I'm trying to debug my first Palm app using the PRC tools and I can't > get gdb (m68k-palmos-gdb) to connect to the Palm OS 5 Simulator to debug > my app. I carefully followed the instructions at > http://prc-tools.sourceforge.net/install/cygwin.html t

Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-06 Thread Daryl Huff
I'm trying to debug my first Palm app using the PRC tools and I can't get gdb (m68k-palmos-gdb) to connect to the Palm OS 5 Simulator to debug my app. I carefully followed the instructions at http://prc-tools.sourceforge.net/install/cygwin.html to install everything onto my Win XP system. I h