diff --git a/src/helper/command.h b/src/helper/command.h index 55046085d..aaba9b0b2 100644 --- a/src/helper/command.h +++ b/src/helper/command.h @@ -340,7 +340,7 @@ struct command_context* copy_command_context(struct command_context* cmd_ctx); /** * Frees the resources associated with a command context. The commands * are not removed, so unregister_all_commands() must be called first. - * @param cmd_ctx The command_context that will be destroyed. + * @param context The command_context that will be destroyed. */ void command_done(struct command_context *context); diff --git a/src/target/arm_dpm.c b/src/target/arm_dpm.c index b02baa397..c5d797e6d 100644 --- a/src/target/arm_dpm.c +++ b/src/target/arm_dpm.c @@ -276,6 +276,7 @@ fail: * Writes all modified core registers for all processor modes. In normal * operation this is called on exit from halting debug state. * + * @param dpm: represents the processor * @param bpwp: true ensures breakpoints and watchpoints are set, * false ensures they are cleared */