On Fri, 14 Jan 2000, John Marshall wrote:
> If you downloaded the TLP more than a couple of hours ago, you should
> download it again. I've just updated it to use the new .def file stuff
> in the build-prc in 0.5.1b3, and it's a much better sample now. (The
> hacks the earlier one used don't work for a real application.)
>
Great, I just downloaded your update and noted the use of multigen
and the 'new' syntax of build-prc...
> Prc-tools-0.5.1b3 and the 3.5 SDK do coexist happily, and in fact they're
> working together nicely on my machine here at Palm. Unfortunately, you
> have an earlier version of the 3.5 SDK, one from before I made a quite big
> change to the sysTrap enumeration for GCC's benefit.
>
> ...
>
> #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
> to
> #if 0
>
> so that you'll pick up the `systrap' trap call instead of the `callseq'
> one. Having done this, you should be able to use all the normal systraps
> just fine.
>
The change to PalmTypes.h worked, TLP successfully compiled with
the 3.5 SDK. Thanks...But, it seems I've ran into another snag with
prc-tools 0.5.1b3 which I hope you, or others can help me with...
I immediately checked-out a copy of my program, did some massive
search and replaces, added a couple of functions in an alternate
code-section, updated the Makefile to use the multigen and build-prc
syntax, make'd, installed PRC on POSE, and it worked...Good times
ahead, right, well... at least until I tried to debug the application
with GDB...Unfortunately, after I issue the 'target pilot localhost:2000'
command and run my program on POSE (3.0a3), GDB never breaks at the
PilotMain() function, GDB just waits with the:
Remote debugging under PalmOS using localhost:2000
Waiting... (Press Ctrl-C to connect to halted machine)
message. I tried the same process with TLP, with no success. The
'Current Limitations' (of prc-tools-0.5.1b3) on John's web-page
doesn't mention any problems with debugging.
Now to my question: Does prc-tools-0.5.1b3, specifically, GDB, suffer
from the same limitation as Multilink, in that you cannot debug
multiple code-resource applications? Have you, John, managed to
run TLP through the GDB debugger? If so, what am I doing wrong?
I realize I haven't given any specific details on my program's code
sections, size, build process, etc., I'm hoping I can use TLP as a
baseline to resolve some of these issues.
Thanks,
Andy Vasquez
[EMAIL PROTECTED]