public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Ilija Kocho <ilijak@siva.com.mk>
To: Lukas Riezler <lukas.riezler@gmx.net>
Cc: Edgar Grimberg <edgar.grimberg@gmail.com>,  ecos-discuss@sourceware.org
Subject: Re: Aw: Re:  Re:  Re: Re: [ECOS] Debugging via JTAG - problems?
Date: Wed, 08 May 2013 06:45:00 -0000	[thread overview]
Message-ID: <5189F47D.5080106@siva.com.mk> (raw)
In-Reply-To: <trinity-8b9000a8-5f39-4abf-8f77-a5ccc1a222fe-1367969068682@3capp-gmx-bs49>

It is likely that compiler has optimised the code out. Try to declare
the variables volatile or some output with diag_printf(). Or compile
with -O0.
I hope this helps.

Ilija

On 08.05.2013 01:24, Lukas Riezler wrote:
> Hi all,
>  
> sorry for my mail storm! ;)
> The problems I've told from in the last 2-3 mails are over.
>  
> I reach now my main(). I think the problem was my interrupt stacksize which was too big.
> Okay, now I reach main() - but I can't really do any steps. The "debug cursor" always stays
> at the first line.
> Is this a "normal" problem or does it indicate anything I should know?
>
> The function looks like this (only some lines of code for test purposes):
>
> __________________________
>
> int main()
> {
>  int i=0;
>  int k=0;
>
>  while(1)
>  {
>    if(i==0) k=0;
>    else k=1;
>  }
>
>  return 0;
> }
> __________________________
>
>
> With kind regards, Lukas
>


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2013-05-08  6:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25  0:13 Lukas Riezler
2013-04-25  8:03 ` Ilija Kocho
2013-04-25 13:00   ` Aw: " Lukas Riezler
2013-04-25 13:03   ` Lukas Riezler
     [not found]     ` <CAPrjMDBTTL3K=jw8bN=u0D3qL-K kbqraFgS4e2vL pTrN3mNw@mail.gmail.com>
     [not found]     ` <CAPrjMDBTTL3K=jw8bN=u0D3qL-K_kbqraFgS4e2vL_pTrN3mNw@mail.gmail.com>
2013-04-25 13:38       ` Edgar Grimberg
2013-04-25 14:19         ` Aw: " Lukas Riezler
2013-04-25 15:31           ` Ilija Kocho
2013-04-26 13:00             ` Aw: " Lukas Riezler
2013-05-02 19:36               ` Ilija Kocho
2013-05-07 19:16                 ` Aw: " Lukas Riezler
2013-05-07 21:58                   ` Lukas Riezler
2013-05-07 23:24                     ` Lukas Riezler
2013-05-08  6:45                       ` Ilija Kocho [this message]
2013-05-08 15:10                         ` Aw: " Lukas Riezler
2013-05-02 19:05             ` Aw: " Lukas Riezler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5189F47D.5080106@siva.com.mk \
    --to=ilijak@siva.com.mk \
    --cc=ecos-discuss@sourceware.org \
    --cc=edgar.grimberg@gmail.com \
    --cc=lukas.riezler@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).