From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29554 invoked by alias); 19 May 2002 20:41:57 -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 29542 invoked from network); 19 May 2002 20:41:55 -0000 Received: from unknown (HELO branoic.WV.CC.CMU.EDU) (128.2.76.124) by sources.redhat.com with SMTP; 19 May 2002 20:41:55 -0000 Received: from drow by branoic.WV.CC.CMU.EDU with local (Exim 3.35 #1 (Debian)) id 179XV2-0000Yz-00; Sun, 19 May 2002 16:41:52 -0400 Date: Sun, 19 May 2002 13:41:00 -0000 From: Daniel Jacobowitz To: Pierre Habraken Cc: gdb@sources.redhat.com Subject: Re: Debugging an Arm Evaluator7T using Gdb Message-ID: <20020519204152.GA2153@branoic.wv.cc.cmu.edu> Mail-Followup-To: Pierre Habraken , gdb@sources.redhat.com References: <3CE7D66F.852B681B@imag.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3CE7D66F.852B681B@imag.fr> User-Agent: Mutt/1.3.28i X-SW-Source: 2002-05/txt/msg00233.txt.bz2 On Sun, May 19, 2002 at 06:44:31PM +0200, Pierre Habraken wrote: > Hello, > > I am not sure that this list is the right one, but I did find another > one where to post my question... > > I am looking instructions or informations about how to cross-debug an > Arm target using RDI and ADP using gdb 5.2 on a Linux host. > The file README.CYGNUS in the rdi-share directory tells the reader to > have a look at the book "ARM's Software Development Tools Reference > Manual" (Remote Debugging chapter) but I did not find this reference on > the Arm site. > > Uploading a program to the target looks to be working fine. > Setting a breakpoint too. > But after that, running the program makes gdb display a warning message > and then hang : > ====================================================================== > (gdb) target rdi /dev/ttyS1 > Angel Debug Monitor V1.32 (ARM Ltd unreleased) for Evaluator7T, IRQ > Built Nov 19 2001 > Serial Rate: 9600 > RDI_info: internal error, unimplemented message > Connected to ARM RDI target. > (gdb) load > Loading section .text, size 0x9b78 lma 0x8000 > Loading section SWI_AREA, size 0x78 lma 0x11b78 > Loading section STARTUP_AREA, size 0x34 lma 0x11bf0 > Loading section .rodata, size 0x468 lma 0x11c24 > Loading section .data, size 0x85c lma 0x1218c > Loading section .eh_frame, size 0x4 lma 0x129e8 > Loading section .ctors, size 0x8 lma 0x129ec > Loading section .dtors, size 0x8 lma 0x129f4 > Start address 0x8000, load size 43260 > Transfer rate: 6292 bits/sec, 475 bytes/write. > (gdb) break main > Breakpoint 1 at 0x8564: file noyau.c, line 407. > (gdb) run > The program being debugged has been started already. > Start it from the beginning? (y or n) y > > Try "continue" instead? > ====================================================================== > > I am very far from being a Gdb expert, and also I am a newbie in > debugging an Arm target. So I would really appreciate any kind of > help !... > > Pierre > -- > ________________________________________________________________________ > Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr > Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87 > IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex > ________________________________________________________________________ -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer