This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Jeeni & ARM720T with GDB
- To: Fernando Nasser <fnasser at cygnus dot com>
- Subject: Re: Jeeni & ARM720T with GDB
- From: Grant Edwards <grante at visi dot com>
- Date: Mon, 20 Nov 2000 16:28:02 -0600
- Cc: danish iftikhar <d_iftikhar at hotmail dot com>,gdb at sourceware dot cygnus dot com
- References: <F262O6hm8Ua8d9Ee4za00002d74@hotmail.com> <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