[ECOS] Erratic insight/gdb behavior
Rycerz Roman-G11565
roman.rycerz@motorola.com
Mon Mar 17 20:56:00 GMT 2003
Hi... Thanks all for your help...
Turning the optimizations off ->>> No change
Giving App its own stubs ->>> No change
Upgrading to Insight 5.2.1 ->>>> no change
I do believe it has to do with the fact that this code got put in ram....
That seems like its quite likely
-roman
-----Original Message-----
From: Bob Koninckx [mailto:bob.koninckx@mech.kuleuven.ac.be]
Sent: Monday, March 17, 2003 11:31 AM
To: Rycerz Roman-G11565
Cc: eCos Discussion Group
Subject: Re: [ECOS] Erratic insight/gdb behavior
Looks like debugging optimized code. Strange that you don't see it anywhere
else though.
Does it follow "more or less" the flow of execution. Then it is even more
likely that it has to do with optimization. If you see it stepping through
e.g. comments, object files and source code may have gotten out of sync.
Doing a complete rebuild is the easyest way to tackle this.
In the case of flash code, it may also have to do with relocation of the
code.
Bob
On Mon, 2003-03-17 at 18:23, Rycerz Roman-G11565 wrote:
> Hi
>
> I have been trying to debug support for a new flash. insight/gdb
> works fine up till I start executing "_flash_query".
> In this routine gdb no longer executes linearly, but jumps from line
to
> line , forward and back..... I see the same results in straigt gdb.
>
> I am using insight 5.1 and gcc 2.95.2
>
> Anyone one know why this is happening ?????
>
>
>
>
> Roman F. Rycerz
> Engr Section Manager
> Motorola PCSG
>
>
--
----------------------------------------------------------------------
ir. Bob Koninckx
Katholieke Universiteit Leuven
Division Production Engineering, tel. +32 16 322535
Machine Design and Automation fax. +32 16 322987
Celestijnenlaan 300B bob.koninckx@mech.kuleuven.ac.be
B-3001 Leuven Belgium http://www.mech.kuleuven.ac.be/pma
----------------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list