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

Project:Branches: joel/rtems:use-uintptr-in-mdump-print to rtems/rtos/rtems:main
Author: 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.

Updates rtems/docs/rtems-docs#163

## Generative AI

None

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

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1496
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-bvi6wj136bplkxwirqzray3su-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