Skip to content

Commit

Permalink
Merge pull request #173 from jphickey/fix-170-fix-exception-size
Browse files Browse the repository at this point in the history
Fix #170, set exception context size
  • Loading branch information
astrogeco authored Jun 17, 2020
2 parents 9c73152 + 637d1fa commit 3611e81
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fsw/mcp750-vxworks/src/cfe_psp_exception.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ void CFE_PSP_ExceptionHook (TASK_ID task_id, int vector, void* vpEsf )
*/
fppSave(&Buffer->context_info.fp);

/*
* Save total size of context info.
* (This PSP always fills the entire structure)
*/
Buffer->context_size = sizeof(Buffer->context_info);

CFE_PSP_Exception_WriteComplete();
}

Expand Down

0 comments on commit 3611e81

Please sign in to comment.