From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards To: Fernando Nasser Cc: danish iftikhar , gdb@sourceware.cygnus.com Subject: Re: Jeeni & ARM720T with GDB Date: Mon, 20 Nov 2000 14:25:00 -0000 Message-id: <20001120162802.A11863@visi.com> References: <3A1955CE.2A4280C8@cygnus.com> X-SW-Source: 2000-11/msg00205.html On Mon, Nov 20, 2000 at 04:48:14PM +0000, Fernando Nasser wrote: > The sequence of commands you should use is: > > file > target rdi e=.... > load > break > 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