<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Have a look at the documentation of printf (<a href="http://www.cplusplus.com/reference/cstdio/printf/" rel="noreferrer" target="_blank">http://www.cplusplus.com/reference/cstdio/printf/</a>).<br>
The format specifier "%lx" refers to unsigned long int which is most likely a 32bit integer on your machine.<br>
So it will only read 4 bytes regardless of how many are stored in memory. <br>
Try using either "%llx" or PRIx64 format specifier for printing 64-bit numbers.<br></blockquote><div>Yes, I tried that also. I can't see the 8 char for multiple RTEMS_RECORD_THREAD_NAME in print_item(). Still, I tried to follow the previously mentioned algorithm.</div><div><br></div><div><a href="https://github.com/rmeena840/rtems-tools/commit/33c217642e36b91926dfd823e5b3b59974790084">https://github.com/rmeena840/rtems-tools/commit/33c217642e36b91926dfd823e5b3b59974790084</a><br></div><div><br></div></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="4"><b>Ravindra Kumar Meena</b></font>,<div><span style="color:rgb(102,102,102)">B. Tech. Computer Science and Engineering,<br></span></div><div><span style="color:rgb(102,102,102)"><a href="https://www.iitism.ac.in/" style="color:rgb(17,85,204)" target="_blank">Indian Institute of Technology (Indian School of Mines)</a>, Dhanbad</span></div></div></div></div></div></div>