From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10639 invoked by alias); 19 May 2002 16:44:38 -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 10623 invoked from network); 19 May 2002 16:44:32 -0000 Received: from unknown (HELO imag.imag.fr) (129.88.30.1) by sources.redhat.com with SMTP; 19 May 2002 16:44:32 -0000 Received: from horus.imag.fr (horus.imag.fr [129.88.38.1]) by imag.imag.fr (8.11.6/8.11.6) with ESMTP id g4JGiVk01536; Sun, 19 May 2002 18:44:31 +0200 (MEST) Received: from imag.fr (conque.imag.fr [129.88.38.148]) by horus.imag.fr (8.11.6/8.11.3/ImagV2) with ESMTP id g4JGiUD22695; Sun, 19 May 2002 18:44:30 +0200 (MEST) Message-ID: <3CE7D66F.852B681B@imag.fr> Date: Sun, 19 May 2002 09:44:00 -0000 From: Pierre Habraken Organization: =?iso-8859-1?Q?Universit=E9?= Joseph Fourier X-Accept-Language: en MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Debugging an Arm Evaluator7T using Gdb Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-05/txt/msg00232.txt.bz2 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 ====================================================================== 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 ________________________________________________________________________