On Thu, Jan 30, 2003 at 06:12:38PM +0000, kcorey wrote:
> I'm working on debugging a large application (5 segments and counting,

It is well known that

        * At present, GDB won't work well with applications with
          multiple code resources.

> In the middle of stepping through a function in the debugger, the IDE
> thinks it's in another function, so the variable display is gone.  

This is a symptom of that problem.  GDB has the address right, converts
it to an offset within a section, forgets about the section, and looks
up that offset in the wrong code section, getting the wrong function.
(Well, it's approximately along those lines :-).)

There is/was long-term work to correct this.  Ton van Overbeek's work
to correct this now is also well known, and an archive search will find
it easily.

    John

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

Reply via email to