From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6261 invoked by alias); 7 May 2013 19:16:06 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 6236 invoked by uid 89); 7 May 2013 19:16:02 -0000 X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1 Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.17.22) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 07 May 2013 19:16:01 +0000 Received: from 3capp-gmx-bs63.server.lan ([172.19.170.147]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0M52QK-1UM6jb1i50-00zBUv; Tue, 07 May 2013 21:15:57 +0200 Received: from [91.115.250.3] by 3capp-gmx-bs63.server.lan with HTTP; Tue May 07 21:15:57 CEST 2013 MIME-Version: 1.0 Message-ID: From: "Lukas Riezler" To: "Ilija Kocho" Cc: "Edgar Grimberg" , ecos-discuss@sourceware.org Content-Type: text/plain; charset=UTF-8 Date: Tue, 07 May 2013 19:16:00 -0000 Sensitivity: Normal In-Reply-To: <5182C00C.3040804@siva.com.mk> References: <5178E338.3090307@siva.com.mk> , , <51794C56.2070108@siva.com.mk> , <5182C00C.3040804@siva.com.mk> X-UI-Message-Type: mail Subject: Aw: Re: Re: Re: Re: [ECOS] Debugging via JTAG - problems? X-SW-Source: 2013-05/txt/msg00006.txt.bz2 >This exception should pass without problems, but your debugger may have >problem stepping through it while continual run may pass. Have tried to >put breakpoint(s) after this line? Not directly, because I noticed something "new"... I tried to debug via the command line (like Edgar advised me): I can set a breakpoint at hal_system_init() without problems but when I try to set a breakpoint at the main() which is in my "Hello World" file, I get following message: Make breakpoint pending on future shared library load? (y or or [n]) [answered N; input not from terminal] (gdb) Function "main" not defined I've read that I have to use the command "set breakpoint pending on" if I want to answer the question with YES. But main is still not defined :/ That sounds like a linking problem, doesn't it? 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