mirror of
https://github.com/pvvx/rtl00TstMinAmebaV35a.git
synced 2024-11-24 02:14:16 +00:00
57 lines
1.2 KiB
Text
57 lines
1.2 KiB
Text
# GDB script for loading ram.bin process
|
|
|
|
#===============================================================================
|
|
#set GDB connection
|
|
set remotetimeout 100000
|
|
target remote :2331
|
|
|
|
#===============================================================================
|
|
#Message display setting
|
|
#disable all messages
|
|
|
|
set verbose off
|
|
set complaints 0
|
|
set confirm off
|
|
set exec-done-display off
|
|
show exec-done-display
|
|
set trace-commands off
|
|
#set debug aix-thread off
|
|
#set debug dwarf2-die 0
|
|
set debug displaced off
|
|
set debug expression 0
|
|
set debug frame 0
|
|
set debug infrun 0
|
|
set debug observer 0
|
|
set debug overload 0
|
|
set debugvarobj 0
|
|
set pagination off
|
|
set print address off
|
|
set print symbol-filename off
|
|
set print symbol off
|
|
set print pretty off
|
|
set print object off
|
|
#set debug notification off
|
|
set debug parser off
|
|
set debug remote 0
|
|
|
|
#===============================================================================
|
|
monitor reset 1
|
|
monitor sleep 20
|
|
monitor clrbp
|
|
#===============================================================================
|
|
#Load flash download file
|
|
file ./build/obj/application.axf
|
|
|
|
#skip sdram init, it has been init in openocd config
|
|
set {int}0x40000210=0x211157
|
|
#x /1xw 0x40000210
|
|
|
|
b main
|
|
continue
|
|
clear main
|
|
#Load the file
|
|
#lo
|
|
|
|
|
|
|
|
|