From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14753 invoked by alias); 12 Jul 2002 00:57:31 -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 14745 invoked from network); 12 Jul 2002 00:57:25 -0000 Received: from unknown (HELO hotmail.com) (64.4.15.38) by sources.redhat.com with SMTP; 12 Jul 2002 00:57:25 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 11 Jul 2002 17:57:25 -0700 Received: from 203.179.167.4 by lw10fd.law10.hotmail.msn.com with HTTP; Fri, 12 Jul 2002 00:57:25 GMT X-Originating-IP: [203.179.167.4] From: "TANAKA MIHO" To: drow@mvista.com Cc: gdb@sources.redhat.com Bcc: Subject: Re: About the breakpoint for arm-linux(ARM920T) Date: Thu, 11 Jul 2002 17:57:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp; format=flowed Message-ID: X-OriginalArrivalTime: 12 Jul 2002 00:57:25.0463 (UTC) FILETIME=[165C6E70:01C2293F] X-SW-Source: 2002-07/txt/msg00125.txt.bz2 Hello. Thanks for your reply. >From: Daniel Jacobowitz >To: "?$B$?$J$+ ?$B$_$[" >CC: gdb@sources.redhat.com >Subject: Re: About the breakpoint for arm-linux(ARM920T) >Date: Thu, 11 Jul 2002 08:52:53 -0400 > >On Thu, Jul 11, 2002 at 02:13:35PM +0900, ?$B$?$J$+ ?$B$_$[ wrote: > > > > Hi all, > > > > I'am trying to remote debugging with gdbserver. > > Target is arm-linux for ARM920T. > > > > Using environment is the following. > > > > +------------------+ +--------------------+ > > | HostPC | TCP/IP | target board | > > | (i386 RedHat7.2) |------------------- | (ARM920T arm-linux)| > > | gdb | | gdbserver | > > +------------------+ +--------------------+ > > > > For remote debugging, I tried to compile gdb and gdbserver(gdb-5.2) > > following the README and it was success. > > Then I started to remote debugging . > > The gdbserver attached debugging program and stopped at first instruction > > of debugging program. > > > > But when I set a breakpoint and executed the debugging program, SIGILL > > occurred in the address where I set a breakpoint. > > So checked the instruction in that address. > > There are "0xe7 0xff 0xde 0xfe". > > > > The instruction "0xe7 0xff 0xde 0xfe" are the breakpoint instruction for > > arm-linux? > >No, that's the breakpoint instruction for arm-elf, which is different. > >How did you configure GDB? > >-- >Daniel Jacobowitz Carnegie Mellon University >MontaVista Software Debian GNU/Linux Developer I did configure as follows... -- GDB for host --- 1. $ tar zxvf gdb-5.2.tar.gz 2. $ mkdir /home/tanaka/work 3. $ cd /home/tanaka/work 4. $ ./../gdb-5.2/configure --target=arm-linux --host=i586-linux --prefix=/tools 5. $ make 6. $ su 7. # make install -- GDBserver --- 1. $ mkdir /home/tanaka/work_server 2. $ cd /home/tanaka/work_server 3. $ ./../gdb-5.2/gdb/gdbserver/configure arm-linux 4. $ make 5. $ su 6. # make install I missed doing configure? _________________________________________________________________ ハイセンスな商品を気軽に購入 MSN ショッピング http://shopping.msn.co.jp/