Browse Source

allow 'flash_banks' command to give GDB output

The 'flash banks' command produces a list that needs to be formatted
properly for GDB's 'mem info' to work properly.  The flash_banks TCL
wrapper provided this formatting, but wrappers no longer work for
second-level commands as they did in the past.  With this patch,
the 'flash_banks' command can be used with the new command syntax
and display the required information.
tags/v0.4.0-rc1
Zachary T Welch 14 years ago
parent
commit
2bc4dee7e6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/flash/startup.tcl

+ 1
- 1
src/flash/startup.tcl View File

@@ -5,7 +5,7 @@
proc flash_banks {} {
set i 0
set result ""
foreach {a} [ocd_flash_banks] {
foreach {a} [ocd_flash banks] {
if {$i > 0} {
set result "$result\n"
}


Loading…
Cancel
Save