aboutsummaryrefslogtreecommitdiff
path: root/src/server
AgeCommit message (Collapse)AuthorFilesLines
2009-11-16target: don't implicitly include "breakpoint.h"David Brownell1-0/+1
Most files in the tree seem to have ended up including this, and *quite* needlessly ... only code implementing or using breakpoints actually needs these declarations. So take it out of the header files which included it, and put it in files which use it ... reduce needless interdependencies. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-14add openocd.h for top-level declarationsZachary T Welch2-3/+2
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.
2009-11-13command_context_t -> struct command_contextZachary T Welch8-16/+16
Remove misleading typedef and redundant suffix from struct command_context.
2009-11-13flash_bank_t -> struct flash_bankZachary T Welch1-7/+7
Remove misleading typedef and redundant suffix from struct flash_bank.
2009-11-13target_t -> struct targetZachary T Welch2-22/+22
Remove misleading typedef and redundant suffix from struct target.
2009-11-13reg_t -> struct regZachary T Welch1-6/+6
Remove misleading typedef and redundant suffix from struct reg.
2009-11-13image_t -> struct imageZachary T Welch2-3/+3
Remove misleading typedef and redundant suffix from struct image. Also removes the typedef from enum image_type, as it is used in image.h only.
2009-11-13reg_arch_type_t -> struct reg_arch_typeZachary T Welch1-2/+2
Remove misleading typedef and redundant suffix from struct reg_arch_type.
2009-11-13connection_t -> struct connectionZachary T Welch5-67/+67
Remove misleading typedef and redundant suffix from struct connection.
2009-11-13telnet_connection_t -> struct telnet_connectionZachary T Welch2-10/+10
Remove misleading typedef and redundant suffix from struct telnet_connection.
2009-11-13tcl_connection_t -> struct tcl_connectionZachary T Welch1-7/+7
Remove misleading typedef and redundant suffix from struct tcl_connection.
2009-11-13service_t -> struct serviceZachary T Welch2-14/+14
Remove misleading typedef and redundant suffix from struct service.
2009-11-13telnet_service_t -> struct telnet_serviceZachary T Welch2-4/+4
Remove misleading typedef and redundant suffix from struct telnet_service.
2009-11-13gdb_service_t -> struct gdb_serviceZachary T Welch2-10/+10
Remove misleading typedef and redundant suffix from struct gdb_service.
2009-11-13gdb_connection_t -> struct gdb_connectionZachary T Welch2-21/+21
Remove misleading typedef and redundant suffix from struct gdb_connection.
2009-11-13use CALL_COMMAND_HANDLER instead of direct callsZachary T Welch3-3/+3
By using CALL_COMMAND_HANDLER, parameters can be reordered, added, or even removed in inherited signatures, without requiring revisiting all of the various call sites.
2009-11-13use COMMAND_HELPER for command helper functionsZachary T Welch2-4/+11
Define the numerous helpers that inherit command handler parameters using the COMMAND_HELPER macro.
2009-11-13use COMMAND_HANDLER macro to define all commandsZachary T Welch4-14/+10
2009-11-11log: improve log_callback_fn signatureZachary T Welch2-3/+3
Use unsigned type for line number in log_callback_fn signature.
2009-11-10httpd: fix warnings, more robust error handling, improved MIME handlingØyvind Harboe1-6/+9
The httpd is work in progress... No mime type set by default. Let the browser guess. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-09server: remove useless declarationsZachary T Welch4-52/+64
Remove server command declarations, make handler routines static.
2009-11-09src/{server,pld,svf,xsvf}: remove 'extern' keywordZachary T Welch4-11/+17
Removes 'extern' keyword from function declarations in header filess.
2009-11-05Update all server port command to use new helper.Zachary T Welch3-23/+5
2009-11-05Add server port command helper function.Zachary T Welch2-0/+23
2009-10-13Retired gdb_attach. gdb-detach event covers this functionality.Øyvind Harboe1-66/+3
2009-10-12If halt times out, stop GDB. Allows e.g. manual reset via monitor commands.Øyvind Harboe1-1/+4
2009-10-09Stop debug session if halt failsØyvind Harboe1-1/+6
2009-10-08Stop GDB when polling fails, srst assert or powerdropout is detectedØyvind Harboe1-1/+1
2009-09-29handle single threadingoharboe1-14/+34
git-svn-id: svn://svn.berlios.de/openocd/trunk@2771 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-29httpd smoketest infooharboe1-4/+19
git-svn-id: svn://svn.berlios.de/openocd/trunk@2769 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-24When attaching GDB to OpenOCD, the target state is no longer affected.oharboe2-28/+68
Added gdb_sync feature that allows GDB to sync up to target state. Issue "monitor gdb_sync" and the next stepi, will return immediately with updated register values to GDB. git-svn-id: svn://svn.berlios.de/openocd/trunk@2754 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-21Remove annoying end-of-line whitespace from most src/*dbrownell1-1/+1
files; omitted src/httpd git-svn-id: svn://svn.berlios.de/openocd/trunk@2742 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-15fix bug when using 32 instead of 64 bit value in callback, caught by -Walloharboe1-1/+1
git-svn-id: svn://svn.berlios.de/openocd/trunk@2711 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-30David Brownell <david-b@pacbell.net> start phasing out integers as target IDsoharboe1-4/+12
git-svn-id: svn://svn.berlios.de/openocd/trunk@2650 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-24Steve Grubb <sgrubb@redhat.com> fix various and sundry leaksoharboe1-0/+1
git-svn-id: svn://svn.berlios.de/openocd/trunk@2606 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-21Florian Boor <florian.boor@kernelconcepts.de> fixes a segfault executing ↵oharboe1-1/+1
commands from the web interface using the "Run Command" tab. git-svn-id: svn://svn.berlios.de/openocd/trunk@2601 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-27Fix NPE in GDB_EVENT_END as logforwarding was not disabled early enoughoharboe1-1/+7
git-svn-id: svn://svn.berlios.de/openocd/trunk@2570 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-17Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixesoharboe7-7/+7
git-svn-id: svn://svn.berlios.de/openocd/trunk@2549 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-08typo in commentoharboe1-2/+2
git-svn-id: svn://svn.berlios.de/openocd/trunk@2496 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-28A bit more log detail about connections comming and goingduane1-0/+8
git-svn-id: svn://svn.berlios.de/openocd/trunk@2410 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-25- fix issue when using gdb_port cmdntfreak1-3/+1
- bug introduced in r2240 git-svn-id: svn://svn.berlios.de/openocd/trunk@2403 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23Remove whitespace at end of lines, step 2.zwelch2-57/+57
- Replace '\s*$' with ''. git-svn-id: svn://svn.berlios.de/openocd/trunk@2380 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23- Replace '){' with ') {'.zwelch1-6/+6
git-svn-id: svn://svn.berlios.de/openocd/trunk@2378 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23Remove whitespace that occurs before ')'.zwelch3-29/+29
- Replace '[ \t]*[)]' with ')'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2377 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23Remove whitespace that occurs after '('.zwelch3-21/+21
- Replace '([ \t]*' with '('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2376 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23- Fixes '[<>]' whitespacezwelch3-17/+17
- Replace ')\([<>]\)(' with ') \1 ('. - Replace ')\([<>]\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\([<>]\)(' with '\1 \2 ('. - Replace '\(\w\)\([<>]\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2375 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23- Fixes '+' whitespacezwelch2-14/+14
- Replace ')\(+\)(' with ') \1 ('. - Replace ')\(+\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(+\)(' with '\1 \2 ('. - Replace '\(\w\)\(+\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2373 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23- Fixes '=' whitespacezwelch4-31/+31
- Replace ')\(=\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(=\)(' with '\1 \2 ('. - Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2372 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23- Fixes '==' whitespacezwelch1-7/+7
- Replace ')\(==\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(==\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2371 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23- Fixes '<<' whitespacezwelch1-1/+1
- Replace ')\(<<\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(<<\)(' with '\1 \2 ('. - Replace '\(\w\)\(<<\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2370 b42882b7-edfa-0310-969c-e2dbd0fdcd60