I fixed all the targets even though

I could only prove that XScale was busted.


git-svn-id: svn://svn.berlios.de/openocd/trunk@437 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
oharboe 2008-03-03 15:58:17 +00:00
parent 50f08f8f2a
commit bc67c6720b
9 changed files with 9 additions and 0 deletions

View File

@ -447,6 +447,7 @@ int arm720t_target_command(struct command_context_s *cmd_ctx, char *cmd, char **
int chain_pos;
char *variant = NULL;
arm720t_common_t *arm720t = malloc(sizeof(arm720t_common_t));
memset(arm720t, 0, sizeof(*arm720t));
if (argc < 4)
{

View File

@ -845,6 +845,7 @@ int arm7tdmi_target_command(struct command_context_s *cmd_ctx, char *cmd, char *
int chain_pos;
char *variant = NULL;
arm7tdmi_common_t *arm7tdmi = malloc(sizeof(arm7tdmi_common_t));
memset(arm7tdmi, 0, sizeof(*arm7tdmi));
if (argc < 4)
{

View File

@ -714,6 +714,7 @@ int arm920t_target_command(struct command_context_s *cmd_ctx, char *cmd, char **
int chain_pos;
char *variant = NULL;
arm920t_common_t *arm920t = malloc(sizeof(arm920t_common_t));
memset(arm920t, 0, sizeof(*arm920t));
if (argc < 4)
{

View File

@ -702,6 +702,7 @@ int arm926ejs_target_command(struct command_context_s *cmd_ctx, char *cmd, char
int chain_pos;
char *variant = NULL;
arm926ejs_common_t *arm926ejs = malloc(sizeof(arm926ejs_common_t));
memset(arm926ejs, 0, sizeof(*arm926ejs));
if (argc < 4)
{

View File

@ -125,6 +125,7 @@ int arm966e_target_command(struct command_context_s *cmd_ctx, char *cmd, char **
int chain_pos;
char *variant = NULL;
arm966e_common_t *arm966e = malloc(sizeof(arm966e_common_t));
memset(arm966e, 0, sizeof(*arm966e));
if (argc < 4)
{

View File

@ -988,6 +988,7 @@ int arm9tdmi_target_command(struct command_context_s *cmd_ctx, char *cmd, char *
int chain_pos;
char *variant = NULL;
arm9tdmi_common_t *arm9tdmi = malloc(sizeof(arm9tdmi_common_t));
memset(arm9tdmi, 0, sizeof(*arm9tdmi));
if (argc < 4)
{

View File

@ -1481,6 +1481,7 @@ int cortex_m3_target_command(struct command_context_s *cmd_ctx, char *cmd, char
int chain_pos;
char *variant = NULL;
cortex_m3_common_t *cortex_m3 = malloc(sizeof(cortex_m3_common_t));
memset(cortex_m3, 0, sizeof(*cortex_m3));
if (argc < 4)
{

View File

@ -609,6 +609,7 @@ int feroceon_target_command(struct command_context_s *cmd_ctx, char *cmd, char *
armv4_5_common_t *armv4_5;
arm7_9_common_t *arm7_9;
arm926ejs_common_t *arm926ejs = malloc(sizeof(arm926ejs_common_t));
memset(arm926ejs, 0, sizeof(*arm926ejs));
if (argc < 4)
{

View File

@ -3145,6 +3145,7 @@ int xscale_target_command(struct command_context_s *cmd_ctx, char *cmd, char **a
int chain_pos;
char *variant = NULL;
xscale_common_t *xscale = malloc(sizeof(xscale_common_t));
memset(xscale, 0, sizeof(*xscale));
if (argc < 5)
{