From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10225 invoked by alias); 8 Dec 2002 01:28:52 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 10217 invoked from network); 8 Dec 2002 01:28:51 -0000 Received: from unknown (HELO shay.ecn.purdue.edu) (128.46.209.11) by sources.redhat.com with SMTP; 8 Dec 2002 01:28:51 -0000 Received: from ecn.purdue.edu (12-222-154-192.client.insightBB.com [12.222.154.192]) (authenticated bits=0) by shay.ecn.purdue.edu (8.12.5/8.12.5) with ESMTP id gB81Smpe021948 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Sat, 7 Dec 2002 20:28:49 -0500 (EST) Message-ID: <3DF2A06A.7070603@ecn.purdue.edu> Date: Sat, 07 Dec 2002 17:28:00 -0000 From: Chris Gniady Organization: Purdue University User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: gdbserver on ixp1200 References: <1039308677.1853.ezmlm@sources.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned-ECN: by AMaVIS version 11 (http://amavis.org/) X-SW-Source: 2002-12/txt/msg00156.txt.bz2 Hello, I have searched all over the web and did not find a clear answer. I am trying to run gdbserver on ixp1200. It is SA1100 with linux 2.3.99. I have compiled the gdb 5.2.1 and gdbserver from this distribution. Here is what happens: 1) FOR GDB configured as "--host=i686-pc-linux-gnu --target=arm-linux" I when i execute a breakpoint the instruction is simply skipped. My code is while(1); prinf("done\n"); When I set breakpoint at while(1) the printf gets executed. so it is skipped I am also not able to single step. 2) FOR GDB configured as "--host=i686-pc-linux-gnu --target=arm-elf" I am able to single step but when I set a breakpoint I get on host: > Program received signal SIGILL, Illegal instruction. > 0x02001590 in main (argc=1, argv=0xbffffdc4) at tmmain.c:82 > 82 while(1) AND on remote: > Treadmartm (280): undefined instruction: pc=02001590 Can anyone help me with correct configuration or patches, to handle breakpoints in this configuration. Thank you, Chris