From: David B. <dbr...@us...> - 2009-11-11 04:08:32
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via d570e4f6f6ae13eccc3f701f4e0fe5beb51fb295 (commit) from 61af6a681671eae69256dcc5b9e853cf9b161387 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d570e4f6f6ae13eccc3f701f4e0fe5beb51fb295 Author: David Brownell <dbr...@us...> Date: Tue Nov 10 19:06:10 2009 -0800 ARM720: bugfix The "ARM720 uses the new inheritance/nesting scheme" patch wrongly scrubbed a calloc() from arm720t_target_create(). Signed-off-by: David Brownell <dbr...@us...> diff --git a/src/target/arm720t.c b/src/target/arm720t.c index 728e197..c84ee28 100644 --- a/src/target/arm720t.c +++ b/src/target/arm720t.c @@ -403,8 +403,9 @@ static int arm720t_init_arch_info(target_t *target, static int arm720t_target_create(struct target_s *target, Jim_Interp *interp) { - struct arm720t_common_s *arm720t = target_to_arm720(target); + struct arm720t_common_s *arm720t = calloc(1, sizeof(*arm720t)); + arm720t->arm7tdmi_common->arm7_9_common.armv4_5_common.is_armv4 = true; return arm720t_init_arch_info(target, arm720t, target->tap); } ----------------------------------------------------------------------- Summary of changes: src/target/arm720t.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) hooks/post-receive -- Main OpenOCD repository |