I just read the flurry of postings on Multilink.
Here are my 2 cents worth based on trying to adapt my multi-segment gdb
patch to multilink 0.3.
- As Chris Faherty pointed out, you need to patch the gdb add-symbol-file
  command to make it understand the expressions used in the script 
  produced by multilink.
- Even with this patch, there are still problems. All the data segments of
  the individul a.out files overlap, creating confusion for the data
  definitions in gdb.
- The multilink calling sequence destroys registers a0,d0,d1,d2. Certain
  gcc runtime routines do not expect this. This will cause problems if
  they are called from a different segment.
- With prc-tools-2.2 (a5 based globals access) the availability of globals
  is as usual: i.e. in non-global launch codes they are not available and
  hence intersegment are not guaranteed to work (a5 may point anywhere).

Multilink is a usable tool to automate the multi-segmenting, but it is
not full proof in every situation.

Ton van Overbeek

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

Reply via email to