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

2021-09-21 Thread Gedare Bloom
On Mon, Sep 20, 2021 at 7:34 PM zack leung wrote: > > printk(" EAX = 0%08" PRIx32 "EBX = 0%08" PRIx32 "ECX = 0%08" PRIx32 > "EDX = 0%08" PRIx32 "\n", > should it look like this gedare? will send once you give the ok > missing x's 0x%08. > > > On Sun, 19 Sept 2021 at 17:42, zack leu

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

2021-09-20 Thread zack leung
printk(" EAX = 0%08" PRIx32 "EBX = 0%08" PRIx32 "ECX = 0%08" PRIx32 "EDX = 0%08" PRIx32 "\n", should it look like this gedare? will send once you give the ok On Sun, 19 Sept 2021 at 17:42, zack leung wrote: > Bumo > > Il ven 17 set 2021, 19:57 zack leung ha > scritto: > >> Where

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

2021-09-20 Thread Gedare Bloom
On Mon, Sep 13, 2021 at 5:44 PM Joel Sherrill wrote: > > On Sun, Sep 12, 2021 at 7:02 PM zack leung wrote: > > > > Thread id is now a Hex value. > > Updates #4203 > > --- > > cpukit/score/cpu/i386/cpu.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/cpukit/score/cpu

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

2021-09-19 Thread zack leung
Bumo Il ven 17 set 2021, 19:57 zack leung ha scritto: > Where am i missing it? > > Zack > > On Fri, 17 Sept 2021 at 23:15, Gedare Bloom wrote: > >> Hi Zack, >> >> I think you have also missed Joel's request to add an 8-character >> width specifier. >> >> On Thu, Sep 16, 2021 at 6:19 PM zack leu

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

2021-09-17 Thread zack leung
Where am i missing it? Zack On Fri, 17 Sept 2021 at 23:15, Gedare Bloom wrote: > Hi Zack, > > I think you have also missed Joel's request to add an 8-character > width specifier. > > On Thu, Sep 16, 2021 at 6:19 PM zack leung > wrote: > > > > Thread id is now a Hex value. formatting improved f

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

2021-09-17 Thread Gedare Bloom
Hi Zack, I think you have also missed Joel's request to add an 8-character width specifier. On Thu, Sep 16, 2021 at 6:19 PM zack leung wrote: > > Thread id is now a Hex value. formatting improved for hex values > Updates #4203 > --- > cpukit/score/cpu/i386/cpu.c | 6 +++--- > 1 file changed, 3

[PATCH v4] improve the format of error reporting on i386

2021-09-16 Thread zack leung
Thread id is now a Hex value. formatting improved for hex values Updates #4203 --- cpukit/score/cpu/i386/cpu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c index 77b7a7161c..0f17cf0148 100644 --- a/cpukit/score/

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

2021-09-16 Thread Chris Johns
On 17/9/21 12:56 am, Gedare Bloom wrote: > Although we are not currently filtering HTML on this mailing list I turned it on for this list. Is it not working? Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

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

2021-09-16 Thread Gedare Bloom
Hi Zack, Although we are not currently filtering HTML on this mailing list, it is strongly preferred that you would send plaintext email when there's no need for the HTML features. We may disable/filter HTML in the future, as is now done for us...@rtems.org This email could have been as easily se

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

2021-09-15 Thread zack leung
printk("--\n"); printk("Exception %" PRIu32 " caught at PC 0x%" PRIx32 " by thread 0x%" PRIx32 "\n", ctx->idtIndex, ctx->eip, _Thread_Executing->Object.id); printk("--\n"); printk("Proces

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

2021-09-15 Thread Gedare Bloom
On Mon, Sep 13, 2021 at 6:10 PM zack leung wrote: > > Gedare told me just to change the ID when I submitted the other I sent you > in discord. Sorry for things bouncing back and forth. > I said not to change the `type` of the register context variables from 32 to ptr. You can change their represe

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

2021-09-13 Thread zack leung
Gedare told me just to change the ID when I submitted the other I sent you in discord. Sorry for things bouncing back and forth. On Mon, 13 Sept 2021 at 23:44, Joel Sherrill wrote: > On Sun, Sep 12, 2021 at 7:02 PM zack leung > wrote: > > > > Thread id is now a Hex value. > > Updates #4203 > >

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

2021-09-13 Thread Joel Sherrill
On Sun, Sep 12, 2021 at 7:02 PM zack leung wrote: > > Thread id is now a Hex value. > Updates #4203 > --- > cpukit/score/cpu/i386/cpu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c > index 77b7a7161c..06af57418d 1

[PATCH v4] improve the format of error reporting on i386

2021-09-12 Thread zack leung
Thread id is now a Hex value. Updates #4203 --- cpukit/score/cpu/i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/