- minimum autoconf 2.59 is now required and verified - due to issues with AS_HELP_STRING
- native win32 now handles WSAECONNRESET - no longer exits openocd - qCRC packet now works correctly under cygwin (gdb compare-sections command) - removed __USE_GNU define from gdbserver.c - gdb qSupported packet is now handled, with this we are able to tell gdb packet size, memory map of target - added new target script gdb_program_config - called before gdb flash programming - new gdb server command gdb_memory_map (enable|disable> - default is disable - new gdb server command gdb_flash_program (enable|disable> - default is disable - gdb flash programming supported - vFlash packets - image_elf_read_section now does not clear any remaining data, this was causing the gdb checksum to fail with certain files - reformat of usbprog.c - memory leak in command_print fixed - updated texi doc to include new commands - added gdb programming section to docs git-svn-id: svn://svn.berlios.de/openocd/trunk@246 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -1040,6 +1040,7 @@ int handle_target_command(struct command_context_s *cmd_ctx, char *cmd, char **a
|
||||
(*last_target_p)->reset_script = NULL;
|
||||
(*last_target_p)->post_halt_script = NULL;
|
||||
(*last_target_p)->pre_resume_script = NULL;
|
||||
(*last_target_p)->gdb_program_script = NULL;
|
||||
|
||||
(*last_target_p)->working_area = 0x0;
|
||||
(*last_target_p)->working_area_size = 0x0;
|
||||
@@ -1120,6 +1121,12 @@ int handle_target_script_command(struct command_context_s *cmd_ctx, char *cmd, c
|
||||
free(target->pre_resume_script);
|
||||
target->pre_resume_script = strdup(args[2]);
|
||||
}
|
||||
else if (strcmp(args[1], "gdb_program_config") == 0)
|
||||
{
|
||||
if (target->gdb_program_script)
|
||||
free(target->gdb_program_script);
|
||||
target->gdb_program_script = strdup(args[2]);
|
||||
}
|
||||
else
|
||||
{
|
||||
ERROR("unknown event type: '%s", args[1]);
|
||||
|
||||
Reference in New Issue
Block a user