# This gdb init script automatically connects to the target and
# loads the program 
#
# $Id: .gdbinit,v 1.2 2006/01/22 17:08:05 strubi Exp $
# 

file srv1-c.bin
target remote :2000

set remotetimeout 999999
set remoteaddresssize 32

set prompt (bfin-jtag-gdb)\ 

define init
	monitor reset
	load srv1-c.bin
end

init

define syscr
	print/x * ((unsigned short *) 0xffc00104)
end

set scheduler-locking off
