From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2445 invoked by alias); 18 Nov 2001 23:49:33 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 2414 invoked from network); 18 Nov 2001 23:49:30 -0000 From: Ben Elliston MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15352.18692.574531.668417@scooby.brisbane.redhat.com> Date: Sat, 10 Nov 2001 16:07:00 -0000 To: Cristiano Ligieri Pereira Cc: sid@sources.redhat.com Subject: Re: Running the hello.c example In-Reply-To: References: <15352.16731.174898.123650@scooby.brisbane.redhat.com> X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid X-SW-Source: 2001-q4/txt/msg00016.txt.bz2 Hi. >>>>> "Cristiano" == Cristiano Ligieri Pereira writes: Cristiano> 0x8764: SWI Fault (software, 0x69) pc=0x8764 Cristiano> and this is the piece of the original code where the error is happening: Cristiano> 00008758 <_swiwrite>: Cristiano> 8758: e1a0c00d mov ip, sp Cristiano> 875c: e92dd800 stmdb sp!, {fp, ip, lr, pc} Cristiano> 8760: e24cb004 sub fp, ip, #4 ; 0x4 Cristiano> 8764: ef000069 swi 0x00000069 Cristiano> 8768: e91ba800 ldmdb fp, {fp, sp, pc} Cristiano> SWI is software interrupt, right? Looks like I'm trying to execution Cristiano> function 0x69 that doesn't exist? is this right? I think you're on the right track. Cristiano> Why would this happen? This is such a simple example. And one more Cristiano> question..., which configuration is being used (besides ARM processor) Cristiano> once I haven't specified any configuration file, let alone created some Cristiano> configuration. The default ARM system configuration in sid uses the ARM Angel monitor and its associated syscall conventions. My guess is that your build of newlib is targetting some other ARM target where swi 69 is the means by which characters are written. Ben