>> I've been using multilink to build up my app, and it has been
>> working well up to now.  However, since debugging multilink'd apps
>> in pose has problems, I'm now trying to make the switch over to the
>> gcc segmenting scheme.
>
> Which problems?  Just curious.  Is it just the gdb add-symbol-file
> issue? John has fixed that, according to the changelog.

I've actually been in contact with both Ton van Overbeek (hacked gdb to work
with multisegmented apps) and David Williams (author of multilink) about
this.  Apparently the script that multilink puts out isn't read correctly by
the current gdb.  Here's Ton's input on the issue:

<Ton>
Multilink produces a gdb command script that is supposed to adjust the
symbols for the other segments. However the commands in the script are not
understood by gdb because the command decoder does not understand the
address expressions used by the script (it only understands numeric
addrssses). You could patch gdb to understand expressions. There has been
some discussion on it before, however I do not remember if that was on the
palmdev forum or in pilot.programmer[.gcc] or somewhere else.
</Ton>

I've sent this info on to David and he indicated that he did not know this
was so!  Apparently an earlier version of gdb worked just fine with the
script file.  He's looking into it at the moment and may or may be able to
do something about it.

Rick


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

Reply via email to