I didn't strip a "gdb_breakpoint_override hard" I found in mini2440.cfg
as I can see configuration of breakpoints to be legitimate to have in
a board config script.

-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
### Eclipse Workspace Patch 1.0
#P openocd
Index: tcl/target/at91sam3uXX.cfg
===================================================================
--- tcl/target/at91sam3uXX.cfg  (revision 2777)
+++ tcl/target/at91sam3uXX.cfg  (working copy)
@@ -37,11 +37,6 @@
 
 reset_config srst_only
 
-# GDB can use this
-gdb_memory_map enable
-# And GDB can flash the chip
-gdb_flash_program enable
-
 $_TARGETNAME configure -event gdb-flash-erase-start {
     halt
 }
Index: tcl/board/mini2440.cfg
===================================================================
--- tcl/board/mini2440.cfg      (revision 2777)
+++ tcl/board/mini2440.cfg      (working copy)
@@ -123,11 +123,7 @@
 # GDB Setup
 #-------------------------------------------------------------------------
 
-    gdb_port 3333
-    gdb_detach resume
     gdb_breakpoint_override hard
-    gdb_memory_map enable
-    gdb_flash_program enable
 
 #------------------------------------------------
 # ARM SPECIFIC
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to