summaryrefslogtreecommitdiff
path: root/src/openocd.h
Commit message (Collapse)AuthorAgeFilesLines
* fix segfault at startupZachary T Welch2009-11-181-1/+1
| | | | | | | | The previous changes to move the startup TCL code resulted in segfaults during startup. This seemingly innocuous patch fixes the problem. I would explain why changing from 'foo[]' to '*foo' caused this issue, but the difference seems superficial. For now, this hot fix will do, but this issue might bear further scrutiny.
* pass startup_tcl to command_initZachary T Welch2009-11-181-0/+3
| | | | | Removes external linkage from helper module, making the startup code a parameter to a new command context's initialization routine.
* add openocd.h for top-level declarationsZachary T Welch2009-11-141-0/+39
Create src/openocd.h to hold declarations previously made internally by src/main.c and src/server/server.c. This ensures all functions are verified to be in-sync at compile time (rather than at link), making it easier to track down bugs.