From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20104 invoked by alias); 21 Aug 2002 16:24:54 -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 20025 invoked from network); 21 Aug 2002 16:24:53 -0000 Received: from unknown (HELO www.jennic.com) (213.143.5.74) by sources.redhat.com with SMTP; 21 Aug 2002 16:24:53 -0000 Received: from jensun01.jennic.com (jensun01.jennic.com [99.99.98.151]) by www.jennic.com (8.9.3/8.9.3) with ESMTP id QAA16784 for ; Wed, 21 Aug 2002 16:49:44 +0100 Received: from jenpc60 (jenpc60 [99.99.98.60]) by jensun01.jennic.com (8.9.3/8.9.3) with SMTP id RAA25114 for ; Wed, 21 Aug 2002 17:24:52 +0100 (BST) From: "Robert Cragie" To: Subject: Trying to run on pid7t board Date: Wed, 21 Aug 2002 09:24:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal X-SW-Source: 2002-q3/txt/msg00017.txt.bz2 Hi, I have got SID via CVS (on 9th August 2002 about 1000 GMT) and built and installed it fine on Redhat Linux 6.1. I have built a simple test using eCos, using the pid target. I am invoking sid as follows: arm-elf-sid --board=pid7t --verbose -EL --gdb=2000 I then connect to it using gdb (insight 5.0), and connect successfully to the target. I then download the test, and inspect memory at 0x8000, no problem, it's there. However, when I start to run, it hits the breakpoint I have set, but I notice all the code has vanished at 0x8000, and it's executing 0x00000000 each time. Any idea what's going on? Here's the output (between ) from sid after downloading. I am suspicious of the 'flush_i_cache' line - could this be flushing 0 into the program space?: process_set_reg 15 = [40 80 0 0 ] add_breakpoint type 0 addr 77740 length 4 add_breakpoint type 0 addr 33992 length 4 flush_i_cache <**** I am suspicious of this. continue_program target_power 1 Target scheduler 0 enabled==0 Host scheduler 0 yielded==1 trapstop_handler target_power 0 Target scheduler 0 enabled==1 Host scheduler 0 yielded==0 process_get_exp_regs 7 11 13 14 15 25 bytes=24 process_get_mem addr=33976 len=4 remove_breakpoint type 0 addr 77740 length 4 remove_breakpoint type 0 addr 33992 length 4 process_get_mem addr=32768 len=128 process_get_regs num_regs=26 bytes=168 process_get_mem addr=32768 len=128 exit_program target_power 0 Target scheduler 0 enabled==0 Host scheduler 0 yielded==1 socketio: ieof1 gdb: disconnect process_detach target_power 0 Target scheduler 0 enabled==0 Host scheduler 0 yielded==1 main loop ended after 47041 iterations. main loop starting. socketio: using fd 3 socketio: server at 0.0.0.0:2000 target_power 0 Target scheduler 0 enabled==0 Host scheduler 0 yielded==1 Robert Cragie, Design Engineer _______________________________________________________________ Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK http://www.jennic.com Tel: +44 (0) 114 281 2655