Re: [PATCH] improve the format of error reporting on i386

2021-09-09 Thread Gedare Bloom
On Wed, Sep 8, 2021 at 6:02 PM zack leung  wrote:
>
> Thread ID is now  a hex value part of ticket #4203
>
Please add

Updates #4203.

To your commit message, on it's own line separated from the rest of
the commit message by a blank line.

The first part of your commit message should indicate the component
affected, e.g.,
"score/i386: improve the format of exception reporting

Updates #4203."

>
> On Wed, 8 Sept 2021 at 23:58, Zacchaeus Leung  
> wrote:
>>
>> diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c
>> index 77b7a7161c..06af57418d 100644
>> --- a/cpukit/score/cpu/i386/cpu.c
>> +++ b/cpukit/score/cpu/i386/cpu.c
>> @@ -215,7 +215,7 @@ void _CPU_Exception_frame_print (const 
>> CPU_Exception_frame *ctx)
>>  {
>>unsigned int faultAddr = 0;
>>printk("--\n");
>> -  printk("Exception %" PRIu32 " caught at PC %" PRIx32 " by thread %" 
>> PRId32 "\n",
>> +  printk("Exception %" PRIu32 " caught at PC %" PRIx32 " by thread %" 
>> PRIx32 "\n",
>>  ctx->idtIndex,
>>  ctx->eip,
>>  _Thread_Executing->Object.id);
>> --
>> 2.33.0
>>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH] improve the format of error reporting on i386

2021-09-08 Thread zack leung
Thread ID is now  a hex value part of ticket #4203


On Wed, 8 Sept 2021 at 23:58, Zacchaeus Leung 
wrote:

> diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c
> index 77b7a7161c..06af57418d 100644
> --- a/cpukit/score/cpu/i386/cpu.c
> +++ b/cpukit/score/cpu/i386/cpu.c
> @@ -215,7 +215,7 @@ void _CPU_Exception_frame_print (const
> CPU_Exception_frame *ctx)
>  {
>unsigned int faultAddr = 0;
>printk("--\n");
> -  printk("Exception %" PRIu32 " caught at PC %" PRIx32 " by thread %"
> PRId32 "\n",
> +  printk("Exception %" PRIu32 " caught at PC %" PRIx32 " by thread %"
> PRIx32 "\n",
>  ctx->idtIndex,
>  ctx->eip,
>  _Thread_Executing->Object.id);
> --
> 2.33.0
>
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel