<div dir="ltr"><div>- thread id is printed as a hex value <br></div><div>- EBP ESP is now printed as a address pointer %p <br></div><div>- Program counter is printed as a pinter </div><div>Part of ticket #4203<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 8 Sept 2021 at 00:17, Zacchaeus Leung <<a href="mailto:zakthertemsdev@gmail.com">zakthertemsdev@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">---<br>
cpukit/score/cpu/i386/cpu.c | 6 +++---<br>
1 file changed, 3 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c<br>
index 77b7a7161c..3c5b7db316 100644<br>
--- a/cpukit/score/cpu/i386/cpu.c<br>
+++ b/cpukit/score/cpu/i386/cpu.c<br>
@@ -215,7 +215,7 @@ void _CPU_Exception_frame_print (const CPU_Exception_frame *ctx)<br>
{<br>
unsigned int faultAddr = 0;<br>
printk("----------------------------------------------------------\n");<br>
- printk("Exception %" PRIu32 " caught at PC %" PRIx32 " by thread %" PRId32 "\n",<br>
+ printk("Exception %" PRIu32 " caught at PC %p" " by thread 0x%" PRIx32 "\n",<br>
ctx->idtIndex,<br>
ctx->eip,<br>
_Thread_Executing->Object.id);<br>
@@ -224,7 +224,7 @@ void _CPU_Exception_frame_print (const CPU_Exception_frame *ctx)<br>
printk("----------------------------------------------------------\n");<br>
printk(" EAX = %" PRIx32 " EBX = %" PRIx32 " ECX = %" PRIx32 " EDX = %" PRIx32 "\n",<br>
ctx->eax, ctx->ebx, ctx->ecx, ctx->edx);<br>
- printk(" ESI = %" PRIx32 " EDI = %" PRIx32 " EBP = %" PRIx32 " ESP = %" PRIx32 "\n",<br>
+ printk(" ESI = %" PRIx32 " EDI = %" PRIx32 " EBP = %p" " ESP = %p" "\n",<br>
ctx->esi, ctx->edi, ctx->ebp, ctx->esp0);<br>
printk("----------------------------------------------------------\n");<br>
printk("Error code pushed by processor itself (if not 0) = %" PRIx32 "\n",<br>
@@ -250,7 +250,7 @@ void _CPU_Exception_frame_print (const CPU_Exception_frame *ctx)<br>
printk("Call Stack Trace of EIP:\n");<br>
if ( fp ) {<br>
for ( i=1; fp->up; fp=fp->up, i++ ) {<br>
- printk("0x%08" PRIx32 " ",fp->pc);<br>
+ printk("0x%08"PRIx32 " ",fp->pc);<br>
if ( ! (i&3) )<br>
printk("\n");<br>
}<br>
-- <br>
2.33.0<br>
<br>
</blockquote></div>