Joel Sherrill created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1497

Project:Branches: joel/rtems:6-use-uintptr-in-mdump-print to rtems/rtos/rtems:6
Author: Joel Sherrill
Assignee: Joel Sherrill

## Summary

cpukit/libmisc/shell/main_mdump.c: Use uintptr_t to print address

The behavior of the %p printf() specifier is implementation
dependent. The behavior varies on RTEMS between printf() and
printk(). This change prints an address as a uintptr_t to
ensure formatting is consistent. It also adjusts the output
width based on target architecture pointer size.

Closes rtems/docs/rtems-docs#163

## Generative AI

None

<!-- Default settings, if it is a dropdown it will set after submission -->

Closes #6

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1497
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/49/sent_notifications/5-cgd7u2aij5rkfbap2cjymdn0s-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to