From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21273 invoked by alias); 11 Jul 2002 12:53:02 -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 21264 invoked from network); 11 Jul 2002 12:52:59 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 11 Jul 2002 12:52:59 -0000 Received: from dsl254-114-096.nyc1.dsl.speakeasy.net ([216.254.114.96] helo=nevyn.them.org) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17SdRD-00058s-00; Thu, 11 Jul 2002 07:52:51 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17SdRF-00011C-00; Thu, 11 Jul 2002 08:52:53 -0400 Date: Thu, 11 Jul 2002 05:53:00 -0000 From: Daniel Jacobowitz To: "?$B$?$J$+ ?$B$_$[" Cc: gdb@sources.redhat.com Subject: Re: About the breakpoint for arm-linux(ARM920T) Message-ID: <20020711125253.GA3870@nevyn.them.org> Mail-Followup-To: "?$B$?$J$+ ?$B$_$[" , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2002-07/txt/msg00115.txt.bz2 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