"Warren Young" <[EMAIL PROTECTED]> wrote:
> Somehow in the last few months, I managed to break something which
now
> prevents me from debugging with Pose and gdb. (I'm fuzzy on this
since
> the last time I used the debugger was in October sometime.)
>
> I've tried everything: searching the archives, reinstalling
PRC-Tools,
> upgrading to pose 3.0a8, downgrading back to 3.0a7, creating new
> sessions in the debugger, building with -g on the compiler and
linker
> command lines, etc. This is all on Red Hat Linux 6.2, with gcc
2.95.2.
> I've tried both prc-tools 2.0 and 2.0.90.
>
> I can see that my PRC file size goes up by 108 bytes when I build
with
> -g. I load the PRC file into Pose, start GDB with the COFF
executable,
> type "target pilot localhost:6414" (or 2000), click on the program
in
> the Launcher, and the program runs, without breaking on PilotMain.
I
> can say "break PilotMain", and it tells me it added the breakpoint,
but
> still it refuses to stop.
>
> What in the world did I do to break this?
Hmm.
http://www.outerbody.com/palm/PalmOS_GNU_SDK_FAQ-6.html
Line endings (LF [or CR?] vs. CR+LF) seem to cause all
kinds of weird problems.
Did you check that?
A `DbgBreak()' in the right place should do it.
Once again I recommend downloading some other source.
http://sourceforge.net/projects/palgar for instance :-)
But there are 106 PalmOS projects already on sourceforge.
At least one of them should have some working debugging.
Some of them I remember offhand: Progect, Yanoff, WapUniverse,
PalmCoins, EasyCalc, pilot-db, Eringson...
--
bye
ranf
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/