tcl: Replace 'gdb_' prefix with 'gdb' command group
Change-Id: I0490b4c112c1a922bf77a4b37df2a630a8f6cea1 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: https://review.openocd.org/c/openocd/+/8337 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
This commit is contained in:
committed by
Antonio Borneo
parent
44cfdef0a4
commit
b764fc2a4d
@@ -35,4 +35,4 @@ reset_config none
|
||||
# The default linker scripts provided by the eSi-RISC toolchain do not
|
||||
# specify attributes on memory regions, which results in incorrect
|
||||
# application of software breakpoints by GDB.
|
||||
gdb_breakpoint_override hard
|
||||
gdb breakpoint_override hard
|
||||
|
||||
@@ -181,7 +181,7 @@ proc configure_esp_xtensa_default_settings { } {
|
||||
$_TARGETNAME_0 xtensa smpbreak BreakIn BreakOut
|
||||
}
|
||||
|
||||
gdb_breakpoint_override hard
|
||||
gdb breakpoint_override hard
|
||||
|
||||
if { [info exists _FLASH_VOLTAGE] } {
|
||||
$_TARGETNAME_0 $_CHIPNAME flashbootstrap $_FLASH_VOLTAGE
|
||||
|
||||
@@ -128,4 +128,4 @@ $_CHIPNAME.m30 configure -event reset-assert { }
|
||||
$_CHIPNAME.m31 configure -event reset-assert { }
|
||||
|
||||
# Soft breakpoints don't currently work due to broken cache handling
|
||||
gdb_breakpoint_override hard
|
||||
gdb breakpoint_override hard
|
||||
|
||||
@@ -128,4 +128,4 @@ $_CHIPNAME.m30 configure -event reset-assert { }
|
||||
$_CHIPNAME.m31 configure -event reset-assert { }
|
||||
|
||||
# Soft breakpoints don't currently work due to broken cache handling
|
||||
gdb_breakpoint_override hard
|
||||
gdb breakpoint_override hard
|
||||
|
||||
@@ -64,5 +64,5 @@ arm7_9 dcc_downloads enable
|
||||
etm config $_TARGETNAME 16 normal full etb
|
||||
etb config $_TARGETNAME $_CHIPNAME.etb
|
||||
|
||||
gdb_breakpoint_override hard
|
||||
gdb breakpoint_override hard
|
||||
arm7_9 dbgrq enable
|
||||
|
||||
@@ -96,7 +96,7 @@ if { $_USE_CORE == 1 } {
|
||||
set _FLASH_TARGET $_TARGETNAME_0
|
||||
}
|
||||
# Backup the work area. The flash probe runs an algorithm on the target CPU.
|
||||
# The flash is probed during gdb connect if gdb_memory_map is enabled (by default).
|
||||
# The flash is probed during gdb connect if gdb memory_map is enabled (by default).
|
||||
$_FLASH_TARGET configure -work-area-phys 0x20010000 -work-area-size $_WORKAREASIZE -work-area-backup 1
|
||||
set _FLASHNAME $_CHIPNAME.flash
|
||||
flash bank $_FLASHNAME rp2040_flash 0x10000000 0 0 0 $_FLASH_TARGET
|
||||
|
||||
@@ -144,7 +144,7 @@ proc enable_apetap {} {
|
||||
|
||||
tcl_port 5555
|
||||
telnet_port 4444
|
||||
gdb_port 3333
|
||||
gdb port 3333
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
global _CHIPNAME
|
||||
@@ -319,7 +319,7 @@ global _MAXSPEED
|
||||
adapter speed $_MAXSPEED
|
||||
|
||||
|
||||
gdb_breakpoint_override hard
|
||||
gdb breakpoint_override hard
|
||||
set mem inaccessible-by-default-off
|
||||
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
@@ -67,4 +67,4 @@ if { $_XTENSA_NUM_CORES == 1 } {
|
||||
$_TARGETNAME configure -event reset-assert-post { soft_reset_halt }
|
||||
}
|
||||
|
||||
gdb_report_register_access_error enable
|
||||
gdb report_register_access_error enable
|
||||
|
||||
Reference in New Issue
Block a user