From: Grant Edwards <grante@visi.com>
To: Fernando Nasser <fnasser@cygnus.com>
Cc: danish iftikhar <d_iftikhar@hotmail.com>, gdb@sourceware.cygnus.com
Subject: Re: Jeeni & ARM720T with GDB
Date: Mon, 20 Nov 2000 14:25:00 -0000 [thread overview]
Message-ID: <20001120162802.A11863@visi.com> (raw)
In-Reply-To: <3A1955CE.2A4280C8@cygnus.com>
On Mon, Nov 20, 2000 at 04:48:14PM +0000, Fernando Nasser wrote:
> The sequence of commands you should use is:
>
> file <exec>
> target rdi e=....
> load
> break <somewhere>
> cont
>
> Don't use the load command argument.
Why not?
It works fine for me. The macro I use to load an ELF object
file is:
define reload
resetcpu
delete
symbol-file
symbol-file $arg0
load $arg0
break *0x00
break *0x04
break *0x08
break *0x0c
break *0x10
break *0x14
# IRQ at 0x18 is used
break *0x1c
end
After a "reload" then I do "cont" after optionally setting more
breakpoints.
The "resetcpu" command at the top is another macro that resets
a bunch of peripheral chips and puts them into a known state.
--
Grant Edwards
grante@visi.com
next prev parent reply other threads:[~2000-11-20 14:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-20 8:06 danish iftikhar
2000-11-20 8:48 ` Fernando Nasser
2000-11-20 9:01 ` Michael Leibowitz
2000-11-20 9:18 ` Fernando Nasser
2000-11-20 14:28 ` Grant Edwards
2000-11-20 14:27 ` Grant Edwards
2000-11-20 15:34 ` Michael Leibowitz
2000-11-20 15:43 ` Grant Edwards
2000-11-20 14:25 ` Grant Edwards [this message]
2000-11-20 22:23 danish iftikhar
2000-11-21 9:36 ` Fernando Nasser
2000-11-22 2:35 danish iftikhar
2000-11-22 6:36 ` Grant Edwards
2000-11-22 23:15 danish iftikhar
2000-11-24 17:34 ` Grant Edwards
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=20001120162802.A11863@visi.com \
--to=grante@visi.com \
--cc=d_iftikhar@hotmail.com \
--cc=fnasser@cygnus.com \
--cc=gdb@sourceware.cygnus.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).