Skip to content

Fix nasa#482, used return value of backtrace in OS_printf() statement#483

Merged
myc-yang merged 1 commit into
nasa:devfrom
myc-yang:482-ignored-return-value-backtrace
Jun 2, 2026
Merged

Fix nasa#482, used return value of backtrace in OS_printf() statement#483
myc-yang merged 1 commit into
nasa:devfrom
myc-yang:482-ignored-return-value-backtrace

Conversation

@myc-yang

Copy link
Copy Markdown
Contributor

Describe the contribution
Fixed #482 by using return value of backtrace in OS_printf() statement

Testing performed

Expected behavior changes

  • A message will be printed on the screen when running the pc-linux psp whenever you are attaching an exception.

System(s) tested on

  • Hardware: PC
  • OS: Ubuntu 18.04
  • Versions: [e.g. cFE 6.6, OSAL 4.2, PSP 1.3 for mcp750, any related apps or tools]

Additional context
Add any other context about the contribution here.

Third party code
If included, identify any third party code and provide text file of license

Contributor Info - All information REQUIRED for consideration of pull request
Michael Yang NASA/GSFC

@myc-yang myc-yang force-pushed the 482-ignored-return-value-backtrace branch from f83dd98 to 6ecfa05 Compare June 1, 2026 13:54
@myc-yang myc-yang self-assigned this Jun 1, 2026
@myc-yang myc-yang requested a review from jphickey June 1, 2026 18:05
@myc-yang myc-yang merged commit 5a770e5 into nasa:dev Jun 2, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Return value for backtrace() in CFE_PSP_AttachExceptions() in fsw/pc-linux/src/cfe_psp_exception.c is ignored.

3 participants