From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13371 invoked by alias); 22 Dec 2012 20:42:11 -0000 Received: (qmail 13362 invoked by uid 22791); 22 Dec 2012 20:42:11 -0000 X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from p02c12o147.mxlogic.net (HELO p02c12o147.mxlogic.net) (208.65.145.80) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 22 Dec 2012 20:42:07 +0000 Received: from unknown [12.218.215.72] (EHLO smtpauth1.linear.com) by p02c12o147.mxlogic.net(mxl_mta-6.16.0-0) with ESMTP id e1b16d05.0.10840.00-377.20259.p02c12o147.mxlogic.net (envelope-from ); Sat, 22 Dec 2012 13:42:06 -0700 (MST) X-MXL-Hash: 50d61b1e3ce84115-d71f254f7925450bc376fdc8fcd76609bdc6680a Received: from smtpauth1.linear.com (localhost [127.0.0.1]) by smtpauth1.linear.com (Postfix) with ESMTP id EB1CA740A9; Sat, 22 Dec 2012 12:42:04 -0800 (PST) Received: from [192.168.0.119] (174-24-17-30.clsp.qwest.net [174.24.17.30]) by smtpauth1.linear.com (Postfix) with ESMTPSA id 96A39740A6; Sat, 22 Dec 2012 12:42:04 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) From: Michael Jones In-Reply-To: <50D5E4B9.5010300@siva.com.mk> Date: Sat, 22 Dec 2012 20:42:00 -0000 Cc: eCos Discussion Content-Transfer-Encoding: quoted-printable Message-Id: References: <50D2CCFE.4030800@dallaway.org.uk> <50D32FEE.8070309@dallaway.org.uk> <50D592C0.8090806@siva.com.mk> <02A08039-66E9-4427-9E68-7C66E5C4200D@linear.com> <50D5E4B9.5010300@siva.com.mk> To: Ilija Kocho X-AnalysisOut: [v=2.0 cv=HLF04PRv c=1 sm=1 a=glloKNylpeYNumXQcclYyA==:17 a] X-AnalysisOut: [=_YBDr5jTXAcA:10 a=D2_GN2MmYMYA:10 a=BLceEmwcHowA:10 a=8nJ] X-AnalysisOut: [EP1OIZ-IA:10 a=MqDINYqSAAAA:8 a=b85RnLSK_MgA:10 a=O8eIFpr9] X-AnalysisOut: [AAAA:8 a=lkFbzkyQtka93tnMw8UA:9 a=wPNLvfGTeEIA:10] X-MAIL-FROM: X-IsSubscribed: yes 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 Subject: Re: [ECOS] Eclipse / CDT without Makefile Project X-SW-Source: 2012-12/txt/msg00048.txt.bz2 Ilija, Wow! That worked. Now I can set breakpoints and run. I think I am down to one last problem. How do I control where the printf go= es? I selected Allocate Console on the Common tab, the the Console in Eclip= se only shows: [Switching to Thread 2] [New Thread 1] If I turn that off, I get: 361,985 (gdb)=20 362,026 @"Hello Mike.\n" 362,030 =3Dbreakpoint-modified,bkpt=3D{number=3D"1",type=3D"breakpoint",dis= p=3D"keep",enabled=3D"y",addr=3D"0x1fff\ e4de",func=3D"main",file=3D"../Sources/hello.c",fullname=3D"/home/mike/Embe= dded/Freescale/app/hello_world/\ Sources/hello.c",line=3D"46",times=3D"1",original-location=3D"/home/mike/Em= bedded/Freescale/app/hello_worl\ d/Sources/hello.c:46"} I am not sure if the @"Hello Mike.\n" is output or just information. I assu= me it is output because it does not show printf. Can you give some pointers on how to get a console that is only for input/o= utput? I would prefer a console that sends the data over the ethernet cable I am u= sing with RedBoot and not try to use RS232 or USB. This way I could debug a= target remotely. Also, do you know a way to reset the target without a reset button on the T= ower? If I was remote, I may not have a way to use the button. When my app = exits, it seems to leave RedBoot in a hung state. Mike On Dec 22, 2012, at 9:50 AM, Ilija Kocho wrote: > On 22.12.2012 17:07, Michael Jones wrote: >> Iligja, >>=20 >> Hm, I am using a Debug Configuration of type GDB Hardware Debugging. The= re is no target path like traditional projects, but instead has a Remote Ta= rget section where you put in the IP and Port. >=20 > In Debug tab find GDB Command: It probably contains the path to your GDB > something like: /home/opt/ecos/gnutools/arm-eabi/bin/arm-eabi-gdb >=20 > Just add your target ELF file like you would do in command line > (probably you need to supply complete path): > /opt/ecos/gnutools/arm-eabi/bin/arm-eabi-gdb >=20 > It works for me, I hope it will work for you. >=20 > Ilija -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss