echo Setting up the environment for debugging gdb.\n

set complaints 1
set output-radix 16
set input-radix 16
set endian big

dir .
set prompt (majic-gdb) 

set remotetimeout 200

# This connects to a target via EPI's MDI Server
# listening for command on this PC's tcp port 2345
target remote localhost:2345

# Display MDI/MAJIC status information
monitor DV "\n"; DI

# 
# Use the "monitor L" command to download your image since it
# is much faster than using the gdb load command.
#
#
# Please modify the path below for the "Monitor L" command and 
# save this file in the same location in which the image.elf file 
# is stored: i.e. 32b directory.
#
#monitor DV "\nDownloading...\n"
#monitor L c:/netsilicon_netos_source/netos/src/examples/naftpapp/32b/image.elf
