Skip to content

Commit 3019838

Browse files
Fix few tests in GDB testsuite on OpenOCD
* Disable OpenOCD logging (output buffer in dejagnu gets overflown and OpenOCD stops working). * Specify that stack is not executable - that requires a custom patch to GDB testsuite. Signed-off-by: Anton Kolesov <[email protected]>
1 parent 39eb4d0 commit 3019838

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dejagnu/baseboards/arc-openocd.exp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ search_and_load_file "library file" "arc-elf32-generic.exp" $boards_dir
2121
# EM Starter Kit is presumed.
2222
set_board_info arc,openocd_cfg "board/snps_em_sk_v2.2.cfg"
2323
set_board_info arc,openocd_prog openocd
24+
set_board_info arc,openocd_log_level 0
25+
26+
# Assume that this is a CCM design (should be evaluated dynamically, somehow).
27+
set_board_info arc,has_executable_stack 0
2428

2529
proc arc-openocd_reboot { cfg } {
2630
puts "Reboot is forbidden for this board - it means that test suite is "

0 commit comments

Comments
 (0)