Jeeni & ARM720T with GDB

Grant Edwards grante@visi.com
Mon Nov 20 14:25:00 GMT 2000


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


More information about the Gdb mailing list