Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pierre Habraken <Pierre.Habraken@imag.fr>
To: gdb@sources.redhat.com
Subject: Debugging an Arm Evaluator7T using Gdb
Date: Sun, 19 May 2002 09:44:00 -0000	[thread overview]
Message-ID: <3CE7D66F.852B681B@imag.fr> (raw)

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

<gdb hangs here, I have to kill it from a shell>
======================================================================

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
________________________________________________________________________


             reply	other threads:[~2002-05-19 16:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-19  9:44 Pierre Habraken [this message]
2002-05-19 13:41 ` Daniel Jacobowitz
2002-05-20  8:56   ` Pierre Habraken
2002-05-20  9:00     ` William A. Gatliff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CE7D66F.852B681B@imag.fr \
    --to=pierre.habraken@imag.fr \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox